gpt4 book ai didi

unicode - pip 安装煤油给unicodeDecodeError

转载 作者:行者123 更新时间:2023-12-02 10:51:14 24 4
gpt4 key购买 nike

我正在尝试从nvidia-docker容器执行pip3 install kerosene。我得到错误:

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/

我搜索了此错误,发现有人从工作目录或用户名中包含非ASCII字符得到了此错误,但我认为情况并非如此。有人知道解决方法吗,或者我将如何进一步研究?

最佳答案

该错误似乎是两年前燃料中的fixed,但未包含在PyPI的软件包中。从Github安装:

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

关于unicode - pip 安装煤油给unicodeDecodeError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50025311/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com