• 问题:在用pip安装的时候一直会显示一些问题比如说2.7停止了pip的使用
    Collecting beautifulsoup Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bc35868d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/beautifulsoup/ Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bc3586e90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/beautifulsoup/ Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bc3586890>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/beautifulsoup/ Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bc35861d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/beautifulsoup/ Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bc3586c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/beautifulsoup/ Could not find a version that satisfies the requirement beautifulsoup (from versions: ) No matching distribution found for beautifulsoup
  • 解决办法:
  1. 在电脑上这个网站https://pypi.tuna.tsinghua.edu.cn/simple/中找到所需要下载的包以及版本,解压
  2. 用命令pip show numpy查询一个以及安装的第三方包安装的位置,这个时候就能找到第三方包安装的位置了
  3. 将解压后的包通过xftp软件将解压后的文件夹移动到第三方包安装的位置,接下来将目录切换到解压后的文件夹的目录下,执行命令python setup.py install,这个时候包已经安装成功了。
Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐