日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

CentOS 6.4 安装RBTools 报错 ImportError: Entry point ('console_scripts', 'easy_install') not found...

發(fā)布時(shí)間:2025/3/17 编程问答 15 豆豆
生活随笔 收集整理的這篇文章主要介紹了 CentOS 6.4 安装RBTools 报错 ImportError: Entry point ('console_scripts', 'easy_install') not found... 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

本來(lái)是按照官網(wǎng)步驟安裝的

1 sudo yum install python 2 sudo yum install python-setuptools 3 sudo easy_install -U setuptools 4 sudo easy_install -U RBTools

?

可惜報(bào)錯(cuò)了

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.py

3.Try again

sudo easy_install RBTools

有的人問(wèn)題解決了,

但是我依然可恥的失敗了.一樣是python和easy_install版本不兼容的問(wèn)題.

?

隨后我決定破罐子破摔:

1.下載epel源 http://ftp.sjtu.edu.cn/fedora/epel/6/i386/repoview/epel-release.html

2.下載remi源 http://rpms.famillecollet.com/

rpm安裝這兩個(gè)源

之后

sudo yum install RBTools --enablerepo=remi

?

參考資料:http://stackoverflow.com/questions/6012246/why-is-python-easy-install-not-working-on-my-mac

?

轉(zhuǎn)載于:https://www.cnblogs.com/rand7/p/3663706.html

總結(jié)

以上是生活随笔為你收集整理的CentOS 6.4 安装RBTools 报错 ImportError: Entry point ('console_scripts', 'easy_install') not found...的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。