Sublime Forum

Python build using Anaconda's modules

#1

Nowadays, when I’m using Sublime Text I can build Python code with Ctrl+B (Windows) because I had installed Python 2.7 with his respective IDLE.

But sometime ago I installed Anaconda and the wonderful iPython that comes with a lot of modules like networkx, matplotlib, numpy, etc. And, when I write code in Sublime text and I build it, if I use any of these modules, as I haven’t installed them on the Python27 folder, ST doesn’t import them, making ImportError.

So, how can I specify Sublime Text to use the packages in my Anaconda’s folder instead of the one’s installed in Python27 folder? Because, if I can do it, I will uninstall Python 2.7 and I will have a wonderful life with IPython&Anaconda.

0 Likes