$sudo apt-get update
$sudo apt-get upgrade
$sudo apt-get install software-properties-common
$sudo add-apt-repository ppa:deadsnakes/ppa
$sudo apt-get update
$sudo apt-get install python3.6
$sudo apt-get install python3-pip #安装pip
$pip3 install --upgrade pip #更新pip
$sudo apt-get install python3.6-venv #安装venv
$python3 --version #查看安装版本
Linux(Ubuntu16.04及以下)安装python3.6/pip/venv
最新推荐文章于 2024-10-12 22:48:41 发布