pip3安装包出现:
Using cached https://files.pythonhosted.org/packages/54/fd/c1b0bb8f6f12ef9b4ee8d7674dac82cd482886f8b5cd165631efa533e237/scikit-image-0.17.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-rdbkf0yv/scikit-image/setup.py", line 30, in <module>
LONG_DESCRIPTION = f.read()
File "/usr/lib/python3.6/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 4029: ordinal not in range(128)
只需要在路径中加上
export LANG=en_US
export LC_ALL=en_US.UTF-8
即:
vim ~./bashrc
在最后添加以上两行即可