最近,为了Windows XP的兼容,装了个Python3.4.3
想输入pip install pyinstaller
时,又出现个错误
pip install pyinstaller -i http://pypi.douban.com/simple
You are using pip version 6.0.8, however version 22.2.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. DEPRECATION: --use-mirrors has been deprecated and will be removed in the future. Explicit uses of --index-url and/or --extra-index-url is suggested. DEPRECATION: --mirrors has been deprecated and will be removed in the future. Explicit uses of --index-url and/or --extra-index-url is suggested. Collecting pyinstaller This repository located at pypi.douban.com is not a trusted host, if this repository is available via HTTPS it is recommend to use HTTPS instead, otherwise you may silence this warning with '--trusted-host pypi.douban.com'. DEPRECATION: Implicitly allowing locations which are not hosted at a secure origin is deprecated and will require the use of --trusted-host in the future. Downloading http://pypi.doubanio.com/packages/7f/48/a60502c14ebafd3c1af193865141ede851591401287ce739816c99d12af2/pyinstaller-5.3.tar.gz (2.3MB) 100% |################################| 2.3MB 20.5MB/s Traceback (most recent call last): File "
" , line 20, in <module Complete output from command python setup.py egg_info: Traceback (most recent call last): File "" , line 20, in <module Command "python setup.py egg_info" failed with error code 1 in %Temp%\pip-build-qt68u7nz\pyinstaller
Command "python setup.py egg_info" failed with error code 1 in %Temp\pip-build-qt68u7nz\pyinstaller
重新安装setuptools
但是
还是不行,所以有没有人回答一下,谢谢了。
成功安装
emmm,
你升级pip试试
或者卸载pip重新装
试下这两种方法
另外对于低版本的python,注意各种包的版本对应的版本,然后下载源多试几个