I try to update pyenv installation list. I know update list is running cd /opt/circleci/.pyenv; git pull
, but install 3.9.0 is failed. How to fix it?
version: 2
jobs:
deploy-dev:
machine: true
steps:
- checkout
- run:
name: load latest
command: |
cd /opt/circleci/.pyenv
git pull
- run:
name: install python 3.9.0
command: |
pyenv install 3.9.0
pyenv global 3.9.0
#!/bin/bash -eo pipefail
pyenv install 3.9.0
pyenv global 3.9.0
Downloading Python-3.9.0.tar.xz...
-> https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tar.xz
Installing Python-3.9.0...
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 (Ubuntu 14.04 using python-build 1.2.21-1-g943015eb)
Inspect or clean up the working tree at /tmp/python-build.20201206133600.5086
Results logged to /tmp/python-build.20201206133600.5086.log
Last 10 log lines:
fi
Looking in links: /tmp/tmpm13hefdk
Processing /tmp/tmpm13hefdk/setuptools-49.2.1-py3-none-any.whl
Processing /tmp/tmpm13hefdk/pip-20.2.3-py2.py3-none-any.whl
Installing collected packages: setuptools, pip
WARNING: The script easy_install-3.9 is installed in '/opt/circleci/.pyenv/versions/3.9.0/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts pip3 and pip3.9 are installed in '/opt/circleci/.pyenv/versions/3.9.0/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-20.2.3 setuptools-49.2.1
Exited with code exit status 1
CircleCI received exit code 1