Python 无法安装执行器
我正在尝试使用pip下载executor,但出现以下错误:Python 无法安装执行器,python,python-3.x,ascii,pip,python-3.4,Python,Python 3.x,Ascii,Pip,Python 3.4,我正在尝试使用pip下载executor,但出现以下错误: Downloading/unpacking executor Downloading executor-1.3.tar.gz Running setup.py (path:/tmp/pip_build_root/executor/setup.py) egg_info for package executor Traceback (most recent call last): File "<stri
Downloading/unpacking executor
Downloading executor-1.3.tar.gz
Running setup.py (path:/tmp/pip_build_root/executor/setup.py) egg_info for package executor
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_root/executor/setup.py", line 25, in <module>
readme_text = open(readme_file, 'r').read()
File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2842: ordinal not in range(128)
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_root/executor/setup.py", line 25, in <module>
readme_text = open(readme_file, 'r').read()
File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2842: ordinal not in range(128)
它是3.4版本,因此与版本问题无关?您使用的是什么操作系统?@padraiccnningham Arch Linux.shell中的区域设置是什么?@padraiccnningham区域设置:无法将LC_CTYPE设置为默认区域设置:没有这样的文件或目录区域设置:无法将LC_消息设置为默认区域设置:没有这样的文件或目录LANG=en_GB.UTF-8LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=en_GB.UTF-8 LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8 LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 LC_PAPER=en_GB.UTF-8 LC_NAME=en_GB.UTF-8 LC_地址=en_GB.UTF-8 LC_电话=en_GB.UTF-8 LC_-8 LC=en_标识=