I posted this to Github here: https://github.com/textmate/python.tmbundle/issues/34#issuecomment-28008122
Essentially, I upgraded recently to the latest TextMate alpha version and immediately could not load networkx and scipy libraries, though all other libraries can be loaded. Some have mentioned the need for path variables, I tried these and there is no difference. Further, I don't see how a path issue causes certain libraries of a common distribution (Enthought Canopy 1.1.1) to not be loadable.
Any help is appreciated, -Dave
On 10 Nov 2013, at 23:00, Dave Gianetto wrote:
[…] I don't see how a path issue causes certain libraries of a common distribution (Enthought Canopy 1.1.1) to not be loadable.
OS X ships with a version of python. Programs find this by looking at the locations specified via the PATH variable.
This means that if you install a custom version of python, then you can make it be used by altering PATH, or if you just need it to be used by TextMate, you can set the TM_PYTHON variable.
It’s unclear to me if you installed the networkx module for the system python, or you installed a completely new version of python with its own modules, but I do think you did the latter.
This means that you need to instruct TextMate to use this new version of python, e.g. by setting TM_PYTHON.
First though you need to figure out if a) this is actually what you did, and b) where this new version of python was installed.