IPython的命令没有找到终端OSX。皮普安装 [英] IPython command not found Terminal OSX. Pip installed

查看:290
本文介绍了IPython的命令没有找到终端OSX。皮普安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Python 2.7通过自制软件安装。然后我用PIP安装IPython的。因此,IPython的似乎下被安装:

Using Python 2.7 installed via homebrew. I then used pip to install IPython. So, IPython seems to be installed under:

/usr/local/lib/python2.7/site-packages/

/usr/local/lib/python2.7/site-packages/

我想是因为有一个IPython的目录和IPython的鸡蛋,这是真的。

I think this is true because there is a IPython directory and ipython egg.

然而,当我在终端上键入IPython中我得到:

However, when I type ipython in the terminal I get:

-bash:IPython的:命令未找到

-bash: ipython: command not found

我不明白为什么这仅与IPython的发生,而不是与蟒蛇?另外,我怎么解决这个问题?我应该补充的.bashrc路径是什么?我应该如何补充?

I do not understand why this ONLY happens with IPython and not with python? Also, how do I fix this? What path should I add in .bashrc? And how should I add?

目前,我的.bashrc写着:

Currently, my .bashrc reads:

PATH = $ PATH:在/ usr / local / bin目录/

PATH=$PATH:/usr/local/bin/

谢谢!

推荐答案

我这个问题太,以下工作对我来说,似乎像一个干净简单的解决方案:

I had this issue too, the following worked for me and seems like a clean simple solution:

PIP卸载IPython的

pip uninstall ipython

PIP安装IPython的

pip install ipython

我运行小牛和最新PIP

I'm running mavericks and latest pip

这篇关于IPython的命令没有找到终端OSX。皮普安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆