背景:
centos下安装easy_intall后,使用下载 django报错,错误信息如下:
Download error on https://pypi.python.org/simple/: unknown url type: https -- Some packages may not be found! No local packages or download links found for django error: Could not find suitable distribution for Requirement.parse('django')
解决办法:
1.yum install openssl-devel
2.重新编译安装python (进入python安装好的目录,重新执行make后,在执行make install命令)
3.easy_install django
安装成功如下:
Installed /usr/local/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg Processing dependencies for django Finished processing dependencies for django
相关推荐
使用ActivePython的安装,自带了easy_install
python 安装easy_install和pip
python的 easy_install 安装包,实测可用。python setup.py build python setup.py install
python安装工具包easy_install,直接python ez-setup.py即可完成easy_install的安装,无需解压官网setuptools里的文件
easy_install ez_install.py 生成文件 python
如果想使用easy_install工具,可能需要先安装setuptools,不过更酷的方法是使用ez_setup.py脚本:复制代码 代码如下:wget -q http://peak.telecommunity.com/dist/ez_setup.pypython ez_setup.py 安装完后,最好确保...
附带说明: cd进入papy-setuptools文件夹,执行python setup.py install将安setuptools工具集。会发现在python安装目录下有个script文件夹,里面有easy_install工具。
Python2.7 pip的easy_install-2.7下载 Python2.7 pip的easy_install-2.7下载
两个.py文件 直接运行可以安装 easy_install和pip
easy_install是一个python的扩展包,主要是用来简化python安装第三方安装包,在安装了easy_install之后,安装python第三方安装包就只需要在命令行中输入:easy_install packagename,然后程序会自动搜索相应版本的...
python easy_install 是一个自动从网上搜寻并下载安装第三方python库的工具,省去了手动安装的麻烦,十分方便。本人提供此安装包并总结了安装方法,一并分享给大家。
easy_install和pip都是用来下载安装Python一个公共资源库PyPI 的相关资源包的,pip是easy_install的改进版,提供更好的提示信 息,删除package等功能。老版本的python中只有easy_install, 没有pip。 easy_install...
只需要把这个代码下载后放到C:\Python27\Scripts中,或者没有安装pip和easy_install时放在C:\Python27中都可,然后用命令行安装python SSLproblem.py 然后一切问题就都解决了
使用gevent,可以对并发多个http请求的爬虫程序进行很好的优化, 缺点是,安装相对麻烦,这个包依赖于libevent,在windows下面用easy_install直接安装是不行的,福利来了,windowns版本的安装包一枚
搭建python 必备资源,直接运行就可以了
easy_install更准确的说是一个和... 使用easy_install需要先安装setuptools工具,然后将easy_install所在目录加到PATH环境变量里: Windows: C:\Python25\Scripts 如果想删除通过easy_install安装的软件包,比如
Python_Regular_Expressions_-_Learn_Python_Regular_Expressions_in_an_Easy_Way.pdf
Windows64位系统下Python、Pydev、easy_install、pip、Numpy、Scipy、easy_install.py、get-pip.py安装插件大礼包!
easy_install和pip都是用来下载安装Python一个公共资源库PyPI 的相关资源包的,有时候发现从官网不好下载分享给大家,解压