IPython报错:pkg_resources.DistributionNotFound: gnureadline
来源:互联网 发布:下载pc软件网站 编辑:程序博客网 时间:2024/05/22 10:58
环境:系统OS X 10.9.5 Python 2.7.8
利用pip安装Ipython
pip install ipython
运行ipython报错:
<span style="font-family:Microsoft YaHei;font-size:14px;">Traceback (most recent call last): File "/usr/local/bin/ipython", line 5, in <module> from pkg_resources import load_entry_point File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module> working_set.require(__requires__) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve raise DistributionNotFound(req) # XXX put more info herepkg_resources.DistributionNotFound: gnureadline</span>
解决:
在terminal中type如下命令。
export CFLAGS=-Qunused-argumentsexport CPPFLAGS=-Qunused-argumentssudo -E pip install ipython[all] --force --upgrade
将会将所有重新安装。
执行完毕后再次type ipython,即可进入ipython shell。
0 0
- IPython报错:pkg_resources.DistributionNotFound: gnureadline
- ipython 报错:pkg_resources.DistributionNotFound: importlib
- qiime 1.8 pkg_resources.distributionNotFound:numpy==1.5.1报错
- pkg_resources.DistributionNotFound: ceilometer
- pkg_resources.DistributionNotFound 错误
- Python pip pkg_resources.DistributionNotFound
- pkg_resources.DistributionNotFound 安装 scrapy错误
- pkg_resources.DistributionNotFound: pip==0.8.2
- python easy_install 出现 pkg_resources.DistributionNotFound: 错误
- docker-compose的pkg_resources.DistributionNotFound错误对应
- pip安装pkg_resources.DistributionNotFound: pip==9.0.1
- ipython notebook报错
- ipython报错
- py2exe打包的时候报错protobuf/pkg_resources找不到
- 错误:Easy_install and pip broke: pkg_resources.DistributionNotFound: distribute==0.6.10
- unbuntu pkg_resources.DistributionNotFound: The 'pip==1.5.4' distribution was not found ...
- pkg_resources.DistributionNotFound: The 'idna<2.6,>=2.5' distribution was not found and is required
- python:pkg_resources.DistributionNotFound: The 'pip==1.5.4' distribution was not found ...
- 桶式排序Java实现
- 使用wireshark分析TCP/IP协议中TCP包头的格式
- 一个组合加全排列的面试算法题及其解
- Server .. was unable to start within 45 seconds.
- const char* 转 LPCWSTR LPCSTR
- IPython报错:pkg_resources.DistributionNotFound: gnureadline
- 水仙花数
- ubuntu10.04 网络配置
- cheap louis vuitton dchfu snggw yrrxb
- cheap oakleys ejxcc pypie xjyhb
- Java IO流学习总结
- 5.map_reduce简单例子与任务运行命令
- 在node中使用mongodb
- 为云南灾区祈福