由于国外的pip源总是由于各种原因不能被访问或者网速过慢,而造成的timeout错误 解决方法是修改pip的配置文件(如果没有配置文件在相应的地方新建,配置文件的路径和名字参考这里),设置安装包时候访问的镜像,将其改为国内的镜像 然后设置timeout的时间长一些 例如配置文件设置如下: 配置文件地址: C:\ProgramData\pip\pip.ini Windows 7 and later the file is hidden, but writeable at C:\ProgramDat
具体报错信息: lto1: fatal error: bytecode stream generated with LTO version 6.0 instead of the expected 4.1 compilation terminated. lto-wrapper: fatal error: gcc returned 1 exit status compilation terminated. /home/liuzhen/anaconda3/compiler_compat/ld: err
在安装pywinauto模块,导入模块后,提示缺少:win32api 但是在使用pip install安装win32api后,居然报错 错误信息如下: Could not find a version that satisfies the requirement win32api (from versions: ) No matching distribution found for win32api 所以找了一些文档,最有用安装pypiwin32后成功解决win32api不能安装问题: pip
Installation Do I need to install pip? pip is already installed if you are using Python 2 >=2.7.9 or Python 3 >=3.4 downloaded from python.org or if you are working in a Virtual Environment created by virtualenv or pyvenv. Just make sure to upgrade