Unable to install AWS Elastic Beanstalk CLI (Win10, Python 3.6, Pip 9.0.1)

后端 未结 9 1936
予麋鹿
予麋鹿 2021-01-01 12:19

I am trying to install awsebcli on my machine and I am unable to run the command

eb --version

It shows this error:

\'eb\' is not         


        
相关标签:
9条回答
  • 2021-01-01 12:40

    This worked for me:

    sudo -H pip3 install awsebcli --upgrade --ignore-installed six
    
    0 讨论(0)
  • 2021-01-01 12:43

    I figured out the issue. It looks like I needed to add this to my environment variables:

    %USERPROFILE%\AppData\Local\Programs\Python\Python36\Scripts
    

    Even though it had the other C:\Users\amirs\... path as well.

    0 讨论(0)
  • 2021-01-01 12:53

    This PATH worked for me...

    %USERPROFILE%\AppData\Roaming\Python\Scripts;
    %USERPROFILE%\AppData\Local\Programs\Python\Python36\Scripts;
    %USERPROFILE%\AppData\Roaming\Python\Python36\Scripts;
    C:\Program Files\Amazon\AWSCLI
    
    0 讨论(0)
  • 2021-01-01 12:53

    I had the exact same issue. It worked for me when I added:

    %USERPROFILE%\AppData\Roaming\Python\Python36\Scripts;
    

    However, if it is still not working, you should check the specific name of the maps since it is not the same in \Roaming as in \Local In \Local it was named Python38-32, and in \Roaming it was named Python38.

    0 讨论(0)
  • 2021-01-01 12:58

    If you are here and it is still not working you need (this possibly is since the new update)... you need to add the following in your Windows Environment variable path:

    %USERPROFILE%\AppData\Local\Programs\Python\Python37-32\Scripts\
    
    0 讨论(0)
  • 2021-01-01 13:00

    If you happened to be using Conda for your Python installation, then you might have to add the following path for Elastic Beanstalk to work:

    C:\Users\%USERPROFILE%\Anaconda3\Scripts
    
    0 讨论(0)
提交回复
热议问题