Skip to content

Instantly share code, notes, and snippets.

@mahsoud
Created July 18, 2020 18:52
Show Gist options
  • Save mahsoud/23324d89646c63c9ab3f3f8be98301f5 to your computer and use it in GitHub Desktop.
Save mahsoud/23324d89646c63c9ab3f3f8be98301f5 to your computer and use it in GitHub Desktop.
==> amazon-ebs: [INFO ] Executing command [u'/usr/bin/pip3', u'--version'] in directory '/home/ubuntu'
==> amazon-ebs: [INFO ] Executing command [u'/usr/bin/pip3', u'freeze', u'--all'] in directory '/home/ubuntu'
==> amazon-ebs: [INFO ] Executing command [u'/usr/bin/pip3', u'install', u'--disable-pip-version-check', u'--upgrade', u'--install-option', u'--user', u'awscli'] in directory '/home/ubuntu'
==> amazon-ebs: [ERROR ] Command '[u'/usr/bin/pip3', u'install', u'--disable-pip-version-check', u'--upgrade', u'--install-option', u'--user', u'awscli']' failed with return code: 1
==> amazon-ebs: [ERROR ] stdout: Collecting awscli
==> amazon-ebs: Downloading https://files.pythonhosted.org/packages/aa/e2/221bdc16ecdf2cf8770771e2012535f576083070fe64770a34831d32bdcb/awscli-1.18.99.tar.gz (1.3MB)
==> amazon-ebs: Collecting PyYAML<5.4,>=3.10 (from awscli)
==> amazon-ebs: Downloading https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz (269kB)
==> amazon-ebs: Collecting botocore==1.17.22 (from awscli)
==> amazon-ebs: Downloading https://files.pythonhosted.org/packages/c0/51/eec13a6ee1fd802bf61070013c7ec354dec262ada8f62eef886ebcc17ba1/botocore-1.17.22.tar.gz (6.6MB)
==> amazon-ebs: Collecting colorama<0.4.4,>=0.2.5 (from awscli)
==> amazon-ebs: Downloading https://files.pythonhosted.org/packages/82/75/f2a4c0c94c85e2693c229142eb448840fba0f9230111faa889d1f541d12d/colorama-0.4.3.tar.gz
==> amazon-ebs: Collecting docutils<0.16,>=0.10 (from awscli)
==> amazon-ebs: Downloading https://files.pythonhosted.org/packages/93/22/953e071b589b0b1fee420ab06a0d15e5aa0c7470eb9966d60393ce58ad61/docutils-0.15.2.tar.gz (1.8MB)
==> amazon-ebs: Collecting rsa<=4.5.0,>=3.1.2 (from awscli)
==> amazon-ebs: Downloading https://files.pythonhosted.org/packages/f7/1a/7837a99fbbe0f48c8e0e15d5418fd8981dbda68286a55b9838e218bd085d/rsa-4.5.tar.gz (50kB)
==> amazon-ebs: Complete output from command python setup.py egg_info:
==> amazon-ebs: Traceback (most recent call last):
==> amazon-ebs: File "<string>", line 1, in <module>
==> amazon-ebs: File "/tmp/pip-build-jhwegi8a/rsa/setup.py", line 20, in <module>
==> amazon-ebs: long_description = f.read()
==> amazon-ebs: File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
==> amazon-ebs: return codecs.ascii_decode(input, self.errors)[0]
==> amazon-ebs: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 898: ordinal not in range(128)
==> amazon-ebs:
==> amazon-ebs: ----------------------------------------
==> amazon-ebs: [ERROR ] stderr: /usr/lib/python3/dist-packages/pip/commands/install.py:212: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
==> amazon-ebs: cmdoptions.check_install_build_global(options)
==> amazon-ebs: The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
==> amazon-ebs: The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
==> amazon-ebs: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-jhwegi8a/rsa/
==> amazon-ebs: [ERROR ] retcode: 1
==> amazon-ebs: [ERROR ] Failed to install packages: awscli. Error: Collecting awscli
==> amazon-ebs: Downloading https://files.pythonhosted.org/packages/aa/e2/221bdc16ecdf2cf8770771e2012535f576083070fe64770a34831d32bdcb/awscli-1.18.99.tar.gz (1.3MB)
==> amazon-ebs: Collecting PyYAML<5.4,>=3.10 (from awscli)
==> amazon-ebs: Downloading https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz (269kB)
==> amazon-ebs: Collecting botocore==1.17.22 (from awscli)
==> amazon-ebs: Downloading https://files.pythonhosted.org/packages/c0/51/eec13a6ee1fd802bf61070013c7ec354dec262ada8f62eef886ebcc17ba1/botocore-1.17.22.tar.gz (6.6MB)
==> amazon-ebs: Collecting colorama<0.4.4,>=0.2.5 (from awscli)
==> amazon-ebs: Downloading https://files.pythonhosted.org/packages/82/75/f2a4c0c94c85e2693c229142eb448840fba0f9230111faa889d1f541d12d/colorama-0.4.3.tar.gz
==> amazon-ebs: Collecting docutils<0.16,>=0.10 (from awscli)
==> amazon-ebs: Downloading https://files.pythonhosted.org/packages/93/22/953e071b589b0b1fee420ab06a0d15e5aa0c7470eb9966d60393ce58ad61/docutils-0.15.2.tar.gz (1.8MB)
==> amazon-ebs: Collecting rsa<=4.5.0,>=3.1.2 (from awscli)
==> amazon-ebs: Downloading https://files.pythonhosted.org/packages/f7/1a/7837a99fbbe0f48c8e0e15d5418fd8981dbda68286a55b9838e218bd085d/rsa-4.5.tar.gz (50kB)
==> amazon-ebs: Complete output from command python setup.py egg_info:
==> amazon-ebs: Traceback (most recent call last):
==> amazon-ebs: File "<string>", line 1, in <module>
==> amazon-ebs: File "/tmp/pip-build-jhwegi8a/rsa/setup.py", line 20, in <module>
==> amazon-ebs: long_description = f.read()
==> amazon-ebs: File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
==> amazon-ebs: return codecs.ascii_decode(input, self.errors)[0]
==> amazon-ebs: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 898: ordinal not in range(128)
==> amazon-ebs:
==> amazon-ebs: ---------------------------------------- /usr/lib/python3/dist-packages/pip/commands/install.py:212: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
==> amazon-ebs: cmdoptions.check_install_build_global(options)
==> amazon-ebs: The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
==> amazon-ebs: The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
==> amazon-ebs: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-jhwegi8a/rsa/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment