无法安装AWS Elastic Beanstalk CLI(Win10,Python 3.6,Pip 9.0.1) [英] Unable to install AWS Elastic Beanstalk CLI (Win10, Python 3.6, Pip 9.0.1)

查看:88
本文介绍了无法安装AWS Elastic Beanstalk CLI(Win10,Python 3.6,Pip 9.0.1)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在计算机上安装awsebcli,但无法运行命令

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

eb --version

它显示此错误:

'eb' is not recognized as an internal or external command,

可运行的程序或批处理文件.

operable program or batch file.

这是我的Python版本:

This is my Python version:

C:\>python --version
Python 3.6.0

这是我的点子版本:

C:\>pip --version
pip 9.0.1 from c:\users\amirs\appdata\local\programs\python\python36\lib\site-packages (python 3.6)

当我运行此命令pip install --upgrade --user awsebcli来安装awsebcli时,它成功安装了它.

When I ran this command pip install --upgrade --user awsebcli to install awsebcli it successfully installed it.

这是我的PATH环境变量:

Here are my environment variables for PATH:

推荐答案

我发现了问题所在.看来我需要将其添加到我的环境变量中:

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

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

即使它也有另一个C:\Users\amirs\ ...路径.

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

这篇关于无法安装AWS Elastic Beanstalk CLI(Win10,Python 3.6,Pip 9.0.1)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆