Pip安装煤油导致Unicodedecodeer错误

Pip安装煤油导致Unicodedecodeer错误,unicode,compiler-errors,pip,Unicode,Compiler Errors,Pip,我正在尝试从nvidia docker容器执行pip3安装。我得到一个错误: Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-16cx_v3e/fuel/setup.py", line 10, in <modu

我正在尝试从nvidia docker容器执行
pip3安装。我得到一个错误:

Complete output from command python setup.py egg_info:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-16cx_v3e/fuel/setup.py", line 10, in <module>
    LONG_DESCRIPTION = f.read().strip()
  File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1803: ordinal not in range(128)

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-0e0cswbo/fuel/
从命令python setup.py egg\u info完成输出:
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
文件“/tmp/pip-install-16cx_v3e/fuel/setup.py”,第10行,in
LONG_DESCRIPTION=f.read().strip()
文件“/usr/lib/python3.5/encodings/ascii.py”,第26行,解码
返回编解码器。ascii_解码(输入,自身错误)[0]
UnicodeDecodeError:“ascii”编解码器无法解码位置1803处的字节0xc3:序号不在范围内(128)
----------------------------------------
命令“python setup.py egg_info”在/tmp/pip-install-0e0cswbo/fuel中失败,错误代码为1/
我在谷歌上搜索了这个错误,发现有些人是因为工作目录或用户名中有非ascii字符而得到这个错误的,但我不认为我是这样。有人知道修复方法吗,或者我如何进一步研究这个问题吗?

这个错误似乎在两年前出现在fuel中,但PyPI的软件包中没有包含它。从Github安装:

pip install -U git+https://github.com/mila-udem/fuel.git#egg=fuel
该缺陷似乎是在两年前的燃料,但它不包括在包在PyPI。从Github安装:

pip install -U git+https://github.com/mila-udem/fuel.git#egg=fuel

所以我实际上并没有安装燃料,而是依靠煤油来安装,但事实证明,我在尝试安装燃料时也遇到了同样的错误。我之所以需要它,是因为我正试图运行一个使用煤油的GitHub项目,原因是:PyPI的包中没有包含错误修复。从Github安装。请参阅答案中的更新。因此,我实际上没有安装fuel,而是依靠煤油来安装它,但事实证明,我在尝试pip安装fuel时遇到了相同的错误。我之所以需要它,是因为我正试图运行一个使用煤油的GitHub项目,原因是:PyPI的包中没有包含错误修复。从Github安装。请参见答案中的更新。