CentOS 6.4 安装RBTools 报错 ImportError: Entry point ('console_scripts', 'easy_install') not found...
本來是按照官網步驟安裝的
1 sudo yum install python 2 sudo yum install python-setuptools 3 sudo easy_install -U setuptools 4 sudo easy_install -U RBTools?
可惜報錯了
Traceback (most recent call last):File "/usr/bin/easy_install", line 9, in <module>load_entry_point('distribute', 'console_scripts', 'easy_install')()File "/usr/lib/python2.6/site-packages/setuptools-3.4.3-py2.6.egg/pkg_resources.py", line 351, in load_entry_pointreturn get_distribution(dist).load_entry_point(group, name)File "/usr/lib/python2.6/site-packages/setuptools-3.4.3-py2.6.egg/pkg_resources.py", line 2362, in load_entry_pointraise ImportError("Entry point %r not found" % ((group,name),)) ImportError: Entry point ('console_scripts', 'easy_install') not found?
去stackoverflow找了下原因
1.Check your /usr/bin and /usr/local/bin for easy_install installations and remove any old script:
1 sudo rm /usr/bin/easy_install* 2 sudo rm /usr/local/bin/easy_install*2.Download and run distribute:
1 curl -O http://python-distribute.org/distribute_setup.py 2 sudo python distribute_setup.py 3 sudo rm distribute_setup.py3.Try again
sudo easy_install RBTools有的人問題解決了,
但是我依然可恥的失敗了.一樣是python和easy_install版本不兼容的問題.
?
隨后我決定破罐子破摔:
1.下載epel源 http://ftp.sjtu.edu.cn/fedora/epel/6/i386/repoview/epel-release.html
2.下載remi源 http://rpms.famillecollet.com/
rpm安裝這兩個源
之后
sudo yum install RBTools --enablerepo=remi?
參考資料:http://stackoverflow.com/questions/6012246/why-is-python-easy-install-not-working-on-my-mac
?
轉載于:https://www.cnblogs.com/rand7/p/3663706.html
總結
以上是生活随笔為你收集整理的CentOS 6.4 安装RBTools 报错 ImportError: Entry point ('console_scripts', 'easy_install') not found...的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: MySQL基础(二)数据库、表的创建及操
- 下一篇: 记录执行hivesql时报org.apa