当前位置:   article > 正文

docker内手动安装python环境_e: couldn't find any package by glob 'python3.11

e: couldn't find any package by glob 'python3.11

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

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

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

解决方法是:

  1. apt-get install python-software-properties
  2. apt-get install software-properties-common
  3. add-apt-repository ppa:jonathonf/python-3.6

然后执行

apt-get update

再执行

apt-get install python3.6
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/687319
推荐阅读
相关标签
  

闽ICP备14008679号