[英]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. 我目前正在尝试安装“思想Python发行版”(EPD),并具有现有的python发行版。 I currently have
ipython
, numpy
and a lot of other tools, plus Sage (an open-source Python science/math distro) installed. 我目前有
ipython
, numpy
和许多其他工具,以及Sage(开源Python科学/数学发行版)已安装。
When I tried installing EPD, I tried testing it from ipython
with import pandas
, which is included in the EPD. 当我尝试安装EPD时,我尝试使用
ipython
包含的import pandas
从ipython
进行测试。 This gave me an error. 这给了我一个错误。 How do I make EPD my default python distro?
如何使EPD成为我的默认python发行版?
My $PATH
is this: Users/scott/.zcm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin
我的
$PATH
是这样的: Users/scott/.zcm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin
My $PYTHONPATH
is currently empty. 我的
$PYTHONPATH
当前为空。
Edit: I have also installed ZSH, am running a Mac, and a whole bunch more stuff. 编辑:我还安装了ZSH,正在运行Mac,还有更多其他东西。 It turns out the problem was with ZSH.
原来问题出在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
. 在我的
.zshrc
我必须添加以下内容: export $PATH=/Library/Frameworks/EPD64.framework/Versions/7.3/bin:$PATH
在/Library/...
之前添加了$PATH
的其余部分。
I have also installed ZSH, am running a Mac, and a whole bunch more stuff. 我还安装了ZSH,正在运行Mac,还有更多其他东西。
It turns out the problem was with ZSH, in my .zshrc
I had to add this: 原来,问题是与ZSH,在我的
.zshrc
我不得不补充一点:
export $PATH=/Library/Frameworks/EPD64.framework/Versions/7.3/bin:$PATH
The /Library/...
was added before the rest of the $PATH
. /Library/...
已添加到$PATH
其余部分之前。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.