Elastic Beanstlak CLI Installation Error

前端 未结 1 1978
一向
一向 2021-01-24 09:01

I downloaded the EBCLI with sudo pip install awsebcli --upgrade --user

When running eb --version I get the following error.

Tra         


        
相关标签:
1条回答
  • 2021-01-24 09:20

    The problem is that you installed awsebcli as the root user, but performed eb --version as a non-root user. So, as far as the non-root user is concerned, awsebcli never got installed.

    To run eb as a non-root user:

    1. pip install awsebcli (without the sudo)

    2. To verify this worked, find awsebcli in the output of pip list

    3. If 1. causes you a problem, I recommend installing the awsebcli after setting up a virtualenv. Basically, virtualenv compartmentalizes your Python packages so you do not mess with the system's version of Python and the root user.

    0 讨论(0)
提交回复
热议问题