组织介绍

安装说明

pyenv从源代码构建Python,这意味着你需要构建依赖项才能真正使用 pyenv。如果你在 Ubuntu/Debian 上,并且想要安装构建依赖项,你可以使用以下命令:
apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl

PYENV_ROOT=~/.pyenv
git clone https://gitee.com/pyenv_1/pyenv.git ${PYENV_ROOT}
git clone https://gitee.com/pyenv_1/pyenv-doctor.git ${PYENV_ROOT}/plugins/pyenv-doctor
git clone https://gitee.com/pyenv_1/pyenv-installer.git ${PYENV_ROOT}/plugins/pyenv-installer
git clone https://gitee.com/pyenv_1/pyenv-update.git ${PYENV_ROOT}/plugins/pyenv-update
git clone https://gitee.com/pyenv_1/pyenv-virtualenv.git ${PYENV_ROOT}/plugins/pyenv-virtualenv
git clone https://gitee.com/pyenv_1/pyenv-which-ext.git ${PYENV_ROOT}/plugins/pyenv-which-ext

export PYTHON_BUILD_MIRROR_URL_SKIP_CHECKSUM=1
export PYTHON_BUILD_MIRROR_URL="https://mirrors.huaweicloud.com/python"

成就
0
Star
0
Fork
成员(1)
zhangpengcheng

搜索帮助