简体   繁体   English

AWS Elastic Beanstalk CLI 安装错误

[英]AWS Elastic Beanstalk CLI Installation Error

Need some help.需要一些帮助。

I am in the process of installing AWS Elastic Beanstalk CLI and have followed the instructions on the official repo but have encountered the following error:我正在安装 AWS Elastic Beanstalk CLI 并按照官方存储库中的说明进行操作,但遇到以下错误:

$ ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer

==============================================
I. Installing Python
==============================================

*************************************************************
1. Determining whether pyenv is already installed and in PATH
*************************************************************
    - pyenv was not found in PATH.

*********************************************************
2. Determining whether pyenv should be cloned from GitHub
*********************************************************
    - pyenv git repository already cloned to /c/Users/HGG/.pyenv-repository. Won't attempt to clone again.

*******************************************
3. Temporarily export necessary pyenv paths
*******************************************

****************************************************************************
4. Checking whether Python can be downloaded (through curl, wget, or aria2c)
****************************************************************************

************************************************************
5. Installing Python 3.7.2. This step may take a few minutes
************************************************************
/c/Users/HGG/.pyenv-repository/bin/pyenv: line 1: ../libexec/pyenv: No such file or directory
   Exiting due to failure

I am using Bash and has tried uninstalling Python and pip to no avail.我正在使用 Bash 并尝试卸载 Python 和 pip 无济于事。 The file ../libexec/pyenv can be found manually.文件../libexec/pyenv可以手动找到。

Need some help guys.需要一些帮助的家伙。

Thanks.谢谢。

Found the problem: I forgot to install Python for All users in my Window (that's why cmd > python --version returned nothing) and also need to check environment variable is set correctly.发现问题:我忘记在我的窗口中为所有用户安装 Python(这就是为什么 cmd > python --version 没有返回任何内容)并且还需要检查环境变量设置是否正确。

Refer https://anthonydebarros.com/2018/06/21/setting-up-python-in-windows-10/参考https://anthonydebarros.com/2018/06/21/setting-up-python-in-windows-10/

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

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