简体   繁体   中英

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-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. The file ../libexec/pyenv can be found manually.

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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