ubuntu 更新python,从3.5更新到3.7
2021-03-09 02:30
标签:for 创建 uil ash val command 需要 value dead 查看 python3版本 报错如下: 使用的ppa是旧版本: 提示: 需要将ppa更新: 然后 系统更新: 最后,安装python3.7 为了方便使用,建议创建软连接 ubuntu 更新python,从3.5更新到3.7 标签:for 创建 uil ash val command 需要 value dead 原文地址:https://www.cnblogs.com/lingwang3/p/14185221.htmlpython3
-
-
version
sudo
apt-get
install
python3.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3.7
E: Couldn‘t find any package by glob ‘python3.7‘
E: Couldn‘t find any package by regex ‘python3.7‘
sudo add-apt-repository ppa:jonathonf/python-3.7
sudo: add-apt-repository: command not found
执行:
sudo apt-get install software-properties-commonsudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.7
首先把之前的软连接删除:sudo
rm
-rf
/usr/bin/python3
sudo
rm
-rf
/usr/bin/pip3
which python3.
7
文章标题:ubuntu 更新python,从3.5更新到3.7
文章链接:http://soscw.com/index.php/essay/62093.html