Вопрос

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.

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top