pip install 时locale.Error: unsupported locale setting

查看配置

locale

更改配置

export LC_ALL=C

下图为结果

时间: 2024-10-12 13:07:13

pip install 时locale.Error: unsupported locale setting的相关文章

[问题解决]Python locale error: unsupported locale setting

原文来源:https://stackoverflow.com/questions/14547631/python-locale-error-unsupported-locale-setting 安装flask包的时候,不支持语言环境,报错如下: Traceback (most recent call last): File "/usr/bin/pip3", line 11, in <module> sys.exit(main()) File "/usr/lib/p

Python locale error: unsupported locale setting

1. 问题 用pip install安装包的时候会提示: Traceback (most recent call last): File "/usr/bin/pip", line 11, in sys.exit(main()) File "/usr/lib/python2.7/dist-packages/pip/init.py", line 215, in main locale.setlocale(locale.LC_ALL, '') File "/us

mac上pip install时提示/System/Library/... 无权限

使用pip install安装包时,提示无权限,即使切换到root账号,仍然提示无权限 加上--user参数解决,如: pip install --user  ipython 原文地址:https://www.cnblogs.com/jinghan/p/8573119.html

解决pip install package时Fatal error in launcher: Unable to create process using &#39;&quot;e:\python36\python3.exe&quot; &quot;E:\python36\Script\pip3.exe&quot;问题

pip 运行报错: 关于:Fatal error in launcher: Unable to create process using '"e:\python36\python3.exe"  "E:\python36\Script\pip3.exe"问题 由于安装tensorflow,下载 了Anaconda2环境,自此python有了2.7 和3.6两个版本,同时在tensorflow虚拟环境中安装了python3.5版本用来运行tensorflow. 今天本想

(ubuntu) pip install scandir 时出现错误 fatal error: Python.h: No such file or directory

安装 jupyter时遇到这个问题,在这里查到了解决方法,特记录一下. 解决方式为: 先安装 python-dev: $ sudo apt-get install python-dev 然后再安装需要的包: pip install scandir

词云:解决pip install wordcloud安装过程中报错“error: command &#39;x86_64-linux-gnu-gcc&#39; failed with exit status 1”问题

外部环境:ubuntu16.04, 64bits, 全局环境python2.7 在虚拟环境(python3.5)中执行 pip install wordcloud 时安装失败,报错: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for wordcloud Running setup.py

pip install Error - ReadTimeoutError: HTTPSConnectionPool

pip install Error OSX 终端更新pip出错 sudo pip install --upgrade pip : 1.ReadTimeoutError: HTTPSConnectionPool(host='pypi.Python.org', port=443): Read 解决办法: 加大超时时间,如 pip --default-timeout=100 install -U pip 2.如果依上处理还没解决问题,或者报错 ProtocolError: ("Connection b

在安装seaborn等包时,使用pip install安装不成功

在安装seaborn等包时,使用pip install seaborn安装不成功,报错有:Failed building wheel for scipy,Failed cleaningbuild dir for scipy. 图二第一行显示了Failed to build scipy. 所以可以推断是scipy出了问题. 解决方法: 手工下载Scipy: http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy 注意:cp后面的数字对应的是python的版

pip install py-stringsimjoin error: INCLUDE environment variable is empty

在用pip install py-stringsimjoin的时候报错error: INCLUDE environment variable is empty,后来在网上搜索下了说是需要下载安装VCForPython27.msi, 下载后安装后VCForPython27.msi(下载地址:https://www.microsoft.com/en-us/download/confirmation.aspx?id=44266),重新安装pip install py-stringsimjoin果然成功