【问题标题】:How can I add a Python version to the Python Launcher?如何将 Python 版本添加到 Python 启动器?
【发布时间】:2019-01-01 16:42:41
【问题描述】:

在 Windows 上,如何将 Python 版本添加到 Python 启动器?我在 2.7 旁边安装了 python 3.7。我已经确定PATH 变量和注册表项是正确的。我要说的一件事是,我在我的机器上看不到任何其他 Python 环境变量(例如 PYTHONPATH),或者描述为 herepy.ini 文件中的任何一个。

如果可能,我希望该解决方案也适用于 python 分发,例如 Anaconda。

这与py launcher does not find my Python 2.7 的问题相同,但没有一个答案对我有用,所以我相信我可以再次提问。

相关: How should I set the default Python version in Windows

【问题讨论】:

    标签: python python-3.x path python-2.x


    【解决方案1】:

    我通过转到Control Panel -> Uninstall A Program,右键单击“Python 2.7.15”,单击“更改”,然后按“修复”解决了这个问题。不知道为什么我不先尝试。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-07-25
      • 1970-01-01
      • 2022-07-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-11
      • 1970-01-01
      相关资源
      最近更新 更多