Here are some of the problems I have encountered:
I'm using the PIP install fabric times Error:
Cleaning up ...
Command python setup.py egg_info failed with error code 1 IN/TMP/PIP_BUILD_ROOT/PYNACL
Traceback (most recent):
File "/usr/bin/pip", line 9, <module>
Load_entry_point (' pip==1.5.4 ', ' console_scripts ', ' Pip ') ()
File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 235, in main
Return Command.main (Cmd_args)
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 161, in main
Text = ' \ n '. Join (Complete_log)
Unicodedecodeerror: ' ASCII ' codec can ' t decode byte 0xe6 in position 49:ordinal not in range (128)
Reason:
[Email protected]:~# Echo $LANG
Zh_cn. UTF-8
I can see that my system is in Chinese.
Solve:
Cd/usr/lib/python2.7/dist-packages/urllib3/packages
Vim sitecustomize.py
Import Sys
Sys.setdefaultencoding (' Utf-8 ')
chmod a+x sitecustomize.py
Just re-install it.
This article is from the "10846118" blog, please be sure to keep this source http://10856118.blog.51cto.com/10846118/1960249
Linux environment using PIP installation software hints ASCII cannot be converted