簡體   English   中英

AWS Elastic Beanstalk CLI 安裝錯誤

[英]AWS Elastic Beanstalk CLI Installation 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

我正在使用 Bash 並嘗試卸載 Python 和 pip 無濟於事。 文件../libexec/pyenv可以手動找到。

需要一些幫助的家伙。

謝謝。

發現問題:我忘記在我的窗口中為所有用戶安裝 Python(這就是為什么 cmd > python --version 沒有返回任何內容)並且還需要檢查環境變量設置是否正確。

參考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