简体   繁体   English

如何在Windows上安装EB CLI?

[英]How to install EB CLI on Windows?

I have used the entire day trying to install EB CLI on windows in order to connect to AWS Elastic Beanstalk but I keep getting the same error: 我整天试图在Windows上安装EB CLI以便连接到AWS Elastic Beanstalk,但是我一直遇到相同的错误:

Running setup.py install for docker-py
Could not find .egg-info directory in install record for docker-py>=1.1.0 <=1.7.2 (from awsebcli)

I started out with the latest version of Python but after reading of other users issues on Stack Overflow I decided to downgrade my Python version to 3.4.0. 我从Python的最新版本开始,但是在阅读了Stack Overflow上的其他用户问题之后,我决定将Python版本降级为3.4.0。 However, I still get the same error, meaning that I cannot do EB init to connect to my Elastic Beanstalk instance since it does not recognise the command. 但是,我仍然遇到相同的错误,这意味着我无法执行EB init来连接到我的Elastic Beanstalk实例,因为它无法识别该命令。

I also tried to un-install docker-py and re-install it - still not working. 我还尝试卸载docker-py并重新安装-仍然无法正常工作。

Any ideas to what I am doing wrong? 有什么想法我做错了吗?

It looks as if you may have version conflicts. 看来您可能有版本冲突。 See a similar issue here 在这里看到类似的问题

Try installing awsebcli in a virtual environment, as suggested by the aws docs . 尝试按照aws docs的建议在虚拟环境中安装awsebcli

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM