python - Visual Studio 2013 中的 "Unsupported Python Version: 3.5"

标签 python windows visual-studio ptvs

一开始我以为是版本问题,所以我把版本从python 3.5降到了2.7还是不行。同样的错误“Unsupported python version 3.5”。 请帮忙。 注意:我已经在 visual studio 中安装了 python 插件,声明为“PTVS 2.1 VS 2013”​​(根据 visual studio 的网站,这是最新的。)

最佳答案

如果你去Debug |选项和设置 | Python 工具 | Environment Options,可以设置为使用Python 2.7(即不需要卸载Python 3.5)。 PTVS 似乎默认使用最新安装的 Python 版本,即使它与它不兼容。

enter image description here

关于python - Visual Studio 2013 中的 "Unsupported Python Version: 3.5",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29144469/

相关文章:

visual-studio - 能否强制 Visual Studio 在 Windows 8 中始终以管理员身份运行?

.net - 智能单元测试: What's the right way to reference Microsoft. Pex.Framework.dll?

python - 删除具有高百分比 NaN 值的 Pandas 列

python - "' str ' object has no attribute ' 在使用 Google Cloud Storage 和 ScrapingHub 时获取 '"

windows - Powershell 为局部变量设置环境变量

c++ - Visual Studio 2015 - 编译器警告(2 级)C4146

python - 为什么 repr(int) 比 str(int) 快?

python - 无法重命名 pandas DataFrame 中的第一列

c++ - 我的 C++ 应用程序如何调用驱动程序的接口(interface)?

windows - 在 Apache Spark 中通过管道运行 Windows 批处理文件