python下setuptools安装
来源:互联网 发布:淘宝cpu散片哪家靠谱 编辑:程序博客网 时间:2024/05/16 16:01
python下的setuptools带有一个easy_install的工具,
在安装python的每三方模块、工具时很有用,也很方便。
安装setuptools前先安装pip,
请参见《python下pip的安装》
1. 下载:
在它的官网可以下载到安装包:
https://pypi.python.org/pypi/setuptools
页面最下面的是它的安装链接,如:
$wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-12.0.3.tar.gz#md5=f07e4b0f4c1c9368fcd980d888b29a65
2. 安装
$ tar -zxvf setuptools-12.0.3.tar.gz
$ cd setuptools=12.0.3
$ python setup.py install
3. 出现错误提示:
Installed /usr/local/python2.7.3/lib/python2.7/site-packages/supervisor-4.0.0_dev-py2.7.egg
Processing dependencies for supervisor==4.0.0-dev
Searching for meld3>=1.0.0
Reading https://pypi.python.org/simple/meld3/
Download error on https://pypi.python.org/simple/meld3/: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!
Couldn't find index page for 'meld3' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!
No local packages or download links found for meld3>=1.0.0
error: Could not find suitable distribution for Requirement.parse('meld3>=1.0.0')
解决办法:
上网查询了问题原因: 是curl的证书太老了需要下载最新的证书:
下载最新的证书文件 、
$ wget http://curl.haxx.se/ca/cacert.pem
更名为ca-bundle.crt放置到默认目录
$ mv cacert.pem ca-bundle.crt
$ mv ca-bundle.crt /etc/pki/tls/certs
在安装python的每三方模块、工具时很有用,也很方便。
安装setuptools前先安装pip,
请参见《python下pip的安装》
1. 下载:
在它的官网可以下载到安装包:
https://pypi.python.org/pypi/setuptools
页面最下面的是它的安装链接,如:
$wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-12.0.3.tar.gz#md5=f07e4b0f4c1c9368fcd980d888b29a65
2. 安装
$ tar -zxvf setuptools-12.0.3.tar.gz
$ cd setuptools=12.0.3
$ python setup.py install
3. 出现错误提示:
Installed /usr/local/python2.7.3/lib/python2.7/site-packages/supervisor-4.0.0_dev-py2.7.egg
Processing dependencies for supervisor==4.0.0-dev
Searching for meld3>=1.0.0
Reading https://pypi.python.org/simple/meld3/
Download error on https://pypi.python.org/simple/meld3/: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!
Couldn't find index page for 'meld3' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!
No local packages or download links found for meld3>=1.0.0
error: Could not find suitable distribution for Requirement.parse('meld3>=1.0.0')
解决办法:
上网查询了问题原因: 是curl的证书太老了需要下载最新的证书:
下载最新的证书文件 、
$ wget http://curl.haxx.se/ca/cacert.pem
更名为ca-bundle.crt放置到默认目录
$ mv cacert.pem ca-bundle.crt
$ mv ca-bundle.crt /etc/pki/tls/certs
阅读全文
0 0
- python下setuptools安装
- python下setuptools安装
- python下setuptools安装( No module named setuptools 解决方案)
- python下setuptools安装( No module named setuptools 解决方案)
- ubuntu下python安装setuptools工具
- Windows下安装 python setuptools出错解决办法。
- Centos6.5 下安装 python setuptools
- python安装python-setuptools
- python安装之setuptools
- cygwin 安装 python setuptools
- Python--Setuptools的安装
- python setuptools安装方法
- python setuptools安装
- python setuptools安装
- python离线安装setuptools
- python安装setuptools
- python setuptools安装
- Python 安装setuptools方
- STL学习笔记-vector
- 【codevs 3185】队列练习1
- cordova-plugin-crosswalk-webview 安装出现错误
- 调试QWebView中javascript代码的方法
- Scala-数组的使用
- python下setuptools安装
- [每日高赞翻译stackoverflow](1)string 和 String 的区别
- Linux下的软件Mysql完全卸载(包括其依赖和库等残留文件)
- Hibernate懒加载异常: org.hibernate.LazyInitializationException: could not initialize proxy
- 软件测试分类
- 性能测试:响应时间/并发用户数/吞吐量/思考时间的计算
- jdbcTemplate常见用法整理。
- 上线打包出现错误整理90362,90535,4238
- 使用jsencrypt实现参数的前端加密