Tuesday, August 27, 2013

windows python path bug

had a weird bug trying to import numpy:
...
from numpy.linalg import lapack_lite
ImportError: DLL load failed: The specified module could not be found.

looks like it's actually because the python Scripts dir needs to be in the path
http://bugs.activestate.com/show_bug.cgi?id=89474

export PATH=$PATH:/cygdrive/c/Python27/Scripts/
made it work.

No comments: