跟随链接https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install.html?icmpid=docs_elasticbeanstalk_console,我正在尝试安装EB CLI on MAC
。在页面上,我已成功完成point 1
中的Install the EB CLI on Linux and macOS
但是当我从第2点开始执行命令./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer
时,出现以下消息/错误
`=============================================I.安装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 /Users/cispl-reserve/.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 ************************************************************ Downloading openssl-1.0.2k.tar.gz... -> https://pyenv.github.io/pythons/6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0 Installing openssl-1.0.2k... Installed openssl-1.0.2k to /Users/cispl-reserve/.pyenv/versions/3.7.2 Downloading readline-6.3.tar.gz... -> https://pyenv.github.io/pythons/56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43 Installing readline-6.3... Installed readline-6.3 to /Users/cispl-reserve/.pyenv/versions/3.7.2 Downloading Python-3.7.2.tar.xz... -> https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz Installing Python-3.7.2... ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib? Please consult to the Wiki page to fix the problem. https://github.com/pyenv/pyenv/wiki/Common-build-problems BUILD FAILED (OS X 10.12.1 using python-build 20180424) Inspect or clean up the working tree at /var/folders/hq/znb1htl568j9rxcgqpgtkg5w0000gp/T/python-build.20190705142457.64163 Results logged to /var/folders/hq/znb1htl568j9rxcgqpgtkg5w0000gp/T/python-build.20190705142457.64163.log Last 10 log lines: install|*) ensurepip="" ;; \ esac; \ ./python.exe -E -m ensurepip \ $ensurepip --root=/ ; \ fi Looking in links: /var/folders/hq/znb1htl568j9rxcgqpgtkg5w0000gp/T/tmpobl4rhc0 Collecting setuptools Collecting pip Installing collected packages: setuptools, pip Successfully installed pip-18.1 setuptools-40.6.2 Exiting due to failure ============================================== II. Creating self-contained EBCLI installation ============================================== ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer: line 51: /Users/cispl-reserve/.pyenv/versions/3.7.2/bin/python: No such file or directory ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer: line 28: echo_with_indentation: command not found
`
按照链接https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install.html?icmpid=docs_elasticbeanstalk_console,我正在尝试在MAC上安装EB CLI。在页面上,我有...