Skip to content Skip to sidebar Skip to footer

Using Macports To Install Modules Via A Certain Path

I realize this is a very newbie question, but previous threads haven't been encouraging (see details below). I've been using anaconda for most of my work via the IPython Notebook,

Solution 1:

While you could adjust your PYTHONPATH environment variable or modify the path using sys.path.insert, you should not try to mix a Python module built for MacPorts' Python with Anaconda. This may work just fine if the module is python-only, but as soon as the module contains compiled code it is not certain that the two installations are binary-compatible. In the best case, loading the module will fail if it isn't compatible, in the worst case, it will randomly crash.

So, yes, you should decide for one Python and just use that.

Post a Comment for "Using Macports To Install Modules Via A Certain Path"