简体   繁体   中英

Installing the Enthought Python Distribution with existing python distro

I am currently trying to install the Enthought Python Distribution (EPD), and have existing python distros. I currently have ipython , numpy and a lot of other tools, plus Sage (an open-source Python science/math distro) installed.

When I tried installing EPD, I tried testing it from ipython with import pandas , which is included in the EPD. This gave me an error. How do I make EPD my default python distro?

My $PATH is this: Users/scott/.zcm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin

My $PYTHONPATH is currently empty.

Edit: I have also installed ZSH, am running a Mac, and a whole bunch more stuff. It turns out the problem was with ZSH. In my .zshrc I had to add this: export $PATH=/Library/Frameworks/EPD64.framework/Versions/7.3/bin:$PATH The /Library/... was added before the rest of the $PATH .

I have also installed ZSH, am running a Mac, and a whole bunch more stuff.

It turns out the problem was with ZSH, in my .zshrc I had to add this:

export $PATH=/Library/Frameworks/EPD64.framework/Versions/7.3/bin:$PATH 

The /Library/... was added before the rest of the $PATH .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM