Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/283.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
AWS EB CLI安装失败,出现“错误”;python setup.py egg“u info”;失败,错误代码为“1”;_Python_Amazon Web Services_Pip_Amazon Elastic Beanstalk_Ebcli - Fatal编程技术网

AWS EB CLI安装失败,出现“错误”;python setup.py egg“u info”;失败,错误代码为“1”;

AWS EB CLI安装失败,出现“错误”;python setup.py egg“u info”;失败,错误代码为“1”;,python,amazon-web-services,pip,amazon-elastic-beanstalk,ebcli,Python,Amazon Web Services,Pip,Amazon Elastic Beanstalk,Ebcli,我正在尝试在VirtualNV中安装awsebcli,如下所示: pip install awsebcli --upgrade --user 安装失败,出现以下错误: Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tm

我正在尝试在VirtualNV中安装awsebcli,如下所示:

pip install awsebcli --upgrade --user
安装失败,出现以下错误:

 Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-dpxu8m6m/awsebcli/setup.py", line 48, in <module>
        long_description=open('README.rst').read() + open('CHANGES.rst').read(),
      File "/home/rashik/Documents/Bhalo/python/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 7198: ordinal not in range(128)

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-dpxu8m6m/awsebcli/

注意:这个问题的答案都不适用于我。

使用只有python2的virtualenv有帮助。

正如@hoefling所指出的,特别是我认为,可能的重复是解决方案。@Rashik这不是关于操作系统或软件包,而是关于您的区域设置。该错误意味着您的系统无法识别包的
CHANGES.rst
文件中的某些UTF-8字符。
locale
命令的输出是什么?locale:无法将LC\u CTYPE设置为默认locale:没有这样的文件或目录locale:无法将LC\u消息设置为默认locale:没有这样的文件或目录locale:无法将LC\u ALL设置为默认locale:没有这样的文件或目录LANG=en\u US.UTF-8 LC\u CTYPE=“en\u US.UTF-8”LC\u NUMERIC=“en\u US.UTF-8”LC\u TIME=“en_US.UTF-8”LC_COLLATE=“en_US.UTF-8”LC_MONETARY=“en_US.UTF-8”LC_MESSAGES=“en_US.UTF-8”LC_PAPER=“en_US.UTF-8”LC_NAME=“en_US.UTF-8”LC_地址=“en_US.UTF-8”LC_电话=“en_US.UTF-8”LC_测量=“en_US.UTF-8”LC_识别=“en_-8”“LC_ALL=您的系统没有正确配置语言环境。您应该解决区域设置问题,Arch为此提供了一篇很好的wiki文章:。至于临时解决办法,
export LC\u ALL=“en\u US.UTF-8”
应该会有所帮助。
awscli           1.15.66  
blessed          1.15.0   
botocore         1.10.65  
cement           2.10.12  
certifi          2018.4.16
chardet          3.0.4    
colorama         0.3.9    
docker-py        1.10.6   
docker-pycreds   0.3.0    
dockerpty        0.4.1    
docopt           0.6.2    
docutils         0.14     
idna             2.7      
jmespath         0.9.3    
pathspec         0.5.6    
pip              18.0     
pyasn1           0.4.4    
python-dateutil  2.7.3    
PyYAML           3.13     
requests         2.19.1   
rsa              3.4.2    
s3transfer       0.1.13   
semantic-version 2.6.0    
setuptools       40.0.0   
six              1.11.0   
texttable        1.4.0    
urllib3          1.23     
wcwidth          0.1.7    
websocket-client 0.48.0   
wheel            0.31.1