[英]python2.7 pip install EnvironmentError Illega byte sequence
I have an error at pip install pyinstaller
我在
pip install pyinstaller
Cmd quote: Cmd报价:
Microsoft Windows Version 6.3.9600 20 13 Microsoft Corporation.
Microsoft Windows版本6.3.9600 20 13 Microsoft Corporation。 All rights reserved.
版权所有。
C:\\WINDOWS\\system32>pip install pyinstaller Collecting pyinstaller
C:\\ WINDOWS \\ system32> pip install pyinstaller收集pyinstaller
Downloading https://files.pythonhosted.org/packages/3c/86/909a8c35c5471919b3854c01f43843d9b5aed0e9948b63e560010f7f3429/PyInstaller-3.3.1.tar.gz (3.5MB)正在下载https://files.pythonhosted.org/packages/3c/86/909a8c35c5471919b3854c01f43843d9b5aed0e9948b63e560010f7f3429/PyInstaller-3.3.1.tar.gz(3.5MB )
1% |Could not install packages due to an EnvironmentError: [Errno 42] Illega l byte sequence
1%|由于环境错误而无法安装软件包:[Errno 42] Ilega l字节序列
I use python2.7 and Windows8: 我使用python2.7和Windows8:
Python 2.7.12 |Anaconda 4.2.0 (64-bit)|
Python 2.7.12 | Anaconda 4.2.0(64位)| (default, Jun 29 2016, 11:07:13) [MSC v. 1500 64 bit (AMD64)] on win32
(预设为2016年6月29日11:07:13)[win32的MSC v.1500 64 bit(AMD64)]
I tried to check what cause the problem all across the internet without success. 我试图检查是什么原因导致整个互联网出现问题,但没有成功。
pip install py2exe
command pip install py2exe
命令中 pip install clock
(simple clock package from githab;just to check pip working) pip install clock
这样的简单包发生作用(来自githab的简单时钟包;只是为了检查pip的工作情况) I wanted to make a virtual enviroment but pip install virtualenv
gave me the same problem. 我想制作一个虚拟环境,但是
pip install virtualenv
给了我同样的问题。 I think that finally I succeed to install virtualenv by the command: 我认为最终我通过命令成功安装了virtualenv:
pip install https://github.com/pypa/virtualenv/tarball/master
(but I not sure because all of my tries) (但我不确定,因为我尝试过所有)
pip install clock
command (the simple pack, just to check pip). pip install clock
命令(简单的包,只是为了检查pip)上得到了相同的EnvironmentError 。 So maybe something in communication from pip to my computer isn't correct.. maybe my programs need update? 所以也许从点子到我的计算机的通讯不正确..也许我的程序需要更新? I updated pip to last version.
我已将点更新为最新版本。 What do you recommend?
您有什么推荐的吗?
I put command in the new environment that I made: 我将命令放置在新创建的环境中:
pip install --upgrade pip==10.0.1
and I installed the older version of pip 我安装了旧版本的pip
that way I successfully installed PyInstaller pack!! 这样我就成功安装了PyInstaller包!
for everyone know :) 对于大家都知道:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.