直接安装 apt-get install python3.6 ,失败,出现

E: Unable to locate package python3.6
E: Couldn't find any package by glob 'python3.6'
E: Couldn't find any package by regex 'python3.6

这是因为Ubuntu无法找到add-apt-repository问题的解决方法

解决方法是:

apt-get install python-software-properties  
apt-get install software-properties-common
add-apt-repository ppa:jonathonf/python-3.6

然后执行

apt-get update

再执行

apt-get install python3.6
Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐