3
votes

I am new to python and want to use the Spyder IDE with Enthought's academic distribution. I can get Spyder to run but it can't find the packages such as pandas that comes with the Enthought distribution. I can import pandas when I run python from the shell outside of Spyder. I am using Enthought EPD 7.3 64bit on OSX 10.7.5 and any assistance would be appreciated.

1
Spyder dev here: Which Spyder version are you running? Our native app or a version installed with pip or easy_install? - Carlos Cordoba
Native app 2.2.0 downloaded from the website a few days ago. - ProbablePattern
Do you have any other version of Python installed, except the one that came with the EPD? - Thorsten Kranz
Ok, thanks. I can now give a proper answer. - Carlos Cordoba
I cannot run pygraphviz from inside Spyder (ImportError: No module named pygraphviz), although it has been easyinstalled to the same virtualenv (and runs from python in the terminal). Is this the same problem? - geotheory

1 Answers

2
votes

To be able to import the packages that come with EDP you have to change your interpreter in

Tools > Preferences > Console > Advanced Settings > Python executable

to select the EPD interpreter, which should be located in

/Library/Frameworks/EPD64.framework/Versions/7.3/bin

However, right now the app has a bug that prevents importing modules of different interpreters.

I'll try to fix it as soon as possible.