pycharm 默认pip安装位置,“找不到匹配的分布”。在PyCharm中的所有pip安装上

当使用PyCharm和pip尝试安装或更新Python包时遇到网络连接问题,导致安装失败或更新未成功。错误信息提示找不到匹配的分布。这可能是由于网络、防火墙、代理设置不正确导致的。解决方案是检查网络连接,确保没有防火墙或代理软件如Fiddler阻碍pip的网络访问。
摘要由CSDN通过智能技术生成

I'm on Windows 7 running PyCharm Community Edition 2016.1.2 and Python 3.4.3, and I have the following behavior:

Installing new packages in PyCharm (from Settings -> Project Interpreter) failed with the error message No matching distribution found for [package name], e.g. No matching distribution found for numpy.

Updating packages in PyCharm (from Settings -> Project Interpreter) claimed to succeed with a Package successfully installed notification, but did not change the package version in the table (and did not actually do the update).

Installing new packages on the command line with pip (e.g. pip install numpy failed with the same error message as PyCharm.

Updating packages on the command line gave the output Requirement already up-to-date and no update.

What????

解决方案

This is pip's behavior when it can't connect to the internet properly. In my case, I had Fiddler running so pip couldn't get through Fiddler's proxy.

To anyone else getting this behavior: check your network, firewalls, proxies, and so on.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值