pip install wxpython提示2.7已经安装_pip 安装后总出现版本无法满足的提示

在Windows 7 64位系统上,使用Python 2.7.11和升级后的pip 8.1.1安装新库时,无论是sqlmap、wxPython还是pyQt,都会提示找不到匹配版本。尝试使用豆瓣源并设置--trusted-host,或者考虑64位Python可能引发的问题。解决方案可能包括检查网络连接、使用虚拟环境安装32位Python或遵循官方安装指南。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

之前自己的PIP崩溃了。所以重装Python2.7.11(Windows7 64bit),升级了PIP(8.1.1),也安装了所有的之前用过的库。但是最近发现,无论采用PIP安装任何库,只要是新的库,都会提示同样的错误:

C:\Python27\Lib\site-packages>pip install sqlmap

Collecting sqlmap

Could not find a version that satisfies the requirement sqlmap (from versions: )

No matching distribution found for sqlmap

C:\Python27\Lib\site-packages>pip install sqlmap -i http://pypi.douban.com/simple/

Collecting sqlmap

The repository located at pypi.douban.com is not a trusted or secure host and is being ignored. If this repository is

available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways

with '--trusted-host pypi.douban.com'.

Could not find a version that satisfies the requirement sqlmap (from versions: )

No matching distribution found for sqlmap

C:\Python27\Lib\site-packages>pip install wxPython

Collecting wxPython

Could not find a version that satisfies the requirement wxPython (from versions: )

No matching distribution found for wxPython

C:\Python27\Lib\site-packages>pip install pyQt

Collecting pyQt

Could not find a version that satisfies the requirement pyQt (from versions: )

No matching distribution found for pyQt

不知道是否因为自己是64位Python的原因?是否需要用virtualenv安装32位Python?

我觉得像网络的原因。使用pip时,加-vvv打开debug信息看看?

pip install sqlmap -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

试试?

windows 设置pip 镜像及Pip Warning:–trusted-host 问题解决方法:

http://my.oschina.net/ysj/blog/630421

wxpython 只支持python2.7

我没有,我就不试了.

How to install wxPython

http://wiki.wxpython.org/How%20to%20inst…

http://stackoverflow.com/questions/32302…

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值