簡體   English   中英

AWS EB CLI安裝失敗,“ python setup.py egg_info”失敗,錯誤代碼為“ 1”

[英]AWS EB CLI installation fails with “python setup.py egg_info” failed with error code 1"

我正在嘗試像這樣在virtualenv中安裝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/

我正在使用Arch Linux。 我在virtualenv中安裝了以下軟件包:

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 

注意:此問題的答案均​​不存在-PIP安裝Numpy拋出錯誤“ ascii編解碼器無法解碼字節0xe2”對我有用

僅使用python2使用virtualenv有所幫助。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM