【问题标题】:Is PyCharm able to automatically select interpreter according to the `.python-version` file?PyCharm 是否能够根据 `.python-version` 文件自动选择解释器?
【发布时间】:2020-09-10 04:11:51
【问题描述】:

虽然我可以在preferences > project foo > Project interpreter 中手动选择pyenv 创建的虚拟环境;我很好奇PyCharm能在项目启动时根据.python-version文件自动使用解释器吗?

非常感谢!

【问题讨论】:

    标签: python visual-studio-code pycharm interpreter pyenv


    【解决方案1】:

    还没有,请投票给https://youtrack.jetbrains.com/issue/PY-20638(在问题标题附近竖起大拇指)

    【讨论】:

    • 非常感谢@user2235698 :) 我刚刚成功了!
    猜你喜欢
    • 2021-08-15
    • 2021-11-08
    • 1970-01-01
    • 2020-09-06
    • 2018-06-01
    • 2014-07-31
    • 1970-01-01
    • 2021-11-07
    相关资源
    最近更新 更多