Macports and PYTHONPATH

Setting up my new macbook, I've had to go through the joy and pleasure that is macports. Overall, it wasn't so bad. A few missing packages here or there. Everything was going fine until I tried to install Fabric. Its dependency on pycrypto kept failing. I had installed pycrypto via macports and no luck. Turns out there are two paths under opt which need to be added to the python path in order to get it to work.


After adding those, things work perfectly. Hope it helps someone!

© 2012 - 2023 · Home — Theme Simpleness