【问题标题】:Best way to run python 3.7 on Ubuntu 16.04 which comes with python 3.5 [duplicate]在 python 3.5 附带的 Ubuntu 16.04 上运行 python 3.7 的最佳方法 [重复]
【发布时间】:2018-06-26 05:44:16
【问题描述】:

我想避免反向移植,它们似乎总是弄乱我的包。

所以我在想像 conda / virtualenv / 甚至 docker 这样的工具可以提供帮助。在我的系统上使用 python 3.7 最简单/最干净的方法是什么?

【问题讨论】:

    标签: python-3.x ubuntu-16.04 python-3.7 backport


    【解决方案1】:
    sudo apt-get install python3.7
    

    Docker 很好,virtualenv/virtualenvwrapper 也很好。

    如果您使用的是虚拟环境,请将-p 传递给二进制文件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-06-01
      • 2018-01-05
      • 1970-01-01
      • 2018-09-20
      • 2020-08-09
      • 2021-04-09
      • 1970-01-01
      相关资源
      最近更新 更多