ubuntu中easy_install 出现 ImportError: Entry point ('console_scripts', 'easy_install') not found,,使用easy_insta
ubuntu中easy_install 出现 ImportError: Entry point ('console_scripts', 'easy_install') not found,,使用easy_insta
使用easy_install安装python包时遇到下面错误:
Traceback (most recent call last): File "/usr/local/bin/easy_install", line 9, in <module> load_entry_point('distribute', 'console_scripts', 'easy_install')() File "/usr/local/lib/python2.7/dist-packages/setuptools-3.3-py2.7.egg/pkg_resources.py", line 351, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/dist-packages/setuptools-3.3-py2.7.egg/pkg_resources.py", line 2362, in load_entry_point raise ImportError("Entry point %r not found" % ((group,name),))ImportError: Entry point ('console_scripts', 'easy_install') not found
出现这个错误是因为在ubuntu中有两个easy_install目录,可以使用which -a easy_install
命令查看easy_install在什么地方存放着
我的放在下面两个地方:
/usr/local/bin/easy_install/usr/bin/easy_install
我删除了/usr/local/bin/easy_install这样easy_install就可以正常使用了。
相关内容
- python中使用环境变量,python使用环境变量,在python中也可
- 一个将汉字转换成汉语拼音的python库,汉语拼音python
- 打印scrapy蜘蛛的抓取树结构,打印scrapy蜘蛛抓取,# Thi
- python判断给定的字符串是否是一个有效的日期,python给
- python通过MD5验证网站下载文件的有效性,pythonmd5,# -*-
- python通过while循环计算1到n的和,pythonwhile,def sum(n):
- 在python的类和函数中使用静态变量,python静态,方法一
- python向sqlite插入数据代码演示,pythonsqlite,import sqlit
- python实现绑定到特定地址和端口的socket server,pythonso
- Inverse power method for solving the eigenvalue problem in Python,i
评论关闭