我正在尝试从 github 安装 python 包。每当我尝试安装任何软件包时,我都会收到错误消息“UnicodeDecodeError:‘utf-8’编解码器无法解码位置 1 中的字节 0x8b:无效的起始字节”。我曾尝试寻找类似问题的答案,但没有运气。对于有关此问题的任何帮助,我将不胜感激。 错误截图链接 - https://www.dropbox.com/s/nc2i5cpi5wcyr3q/error%20install.png?dl=0
最佳答案
您不能使用以下方式安装包:
pip install https://github.com/Theano/Theano
你应该使用:
pip install git+git://github.com/Theano/Theano.git
如果你想从 Github 安装。如果你想从 PyPI 安装包,你应该使用:
pip install Theano
关于python - Unicode解码错误: 'utf-8' codec can't decode byte 0x8b in position 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28521972/