Traceback (most recent call last):
File "/usr/bin/pip", line 11, in <module>
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main
locale.setlocale(locale.LC_ALL, ‘‘)
File "/usr/lib/python2.7/locale.py", line 581, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
解决方法:
export LC_ALL=C
再次执行时,报错消失
原文地址:https://www.cnblogs.com/expttt/p/9326269.html
时间: 2024-10-10 23:08:13