python - AWS Elastic Beanstalk CLI 安装错误
问题描述
需要一些帮助。
我正在安装 AWS Elastic Beanstalk CLI 并按照官方repo上的说明进行操作,但遇到以下错误:
$ ./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/
推荐阅读
- optimization - 使用 RcppEnsmallen 发散的分位数回归
- java - drawImage() 方法未在 Java Swing 中完全绘制图像
- reactjs - react-hook-form: setValue 正在清除未注册的嵌套值
- python - 使用 MQL4 代码将表情符号发送到 Telegram
- node.js - CORS 不允许连接到 API,即使它设置为 all
- python - Python使用post方法更改列表中的数据
- javascript - 从刷新令牌自动生成新令牌的最佳方法是什么
- machine-learning - nni实验开始后卡住的问题如何解决?
- php - WP 用户查询和 wp-admin/admin-ajax 返回 0 和数据
- jupyter-notebook - 如何在 Jupyter Markdown 单元格中的字符下方添加波浪号?