【问题标题】:Visual Studio 2017 Python Environment not workingVisual Studio 2017 Python 环境不工作
【发布时间】:2018-08-25 16:27:42
【问题描述】:

我的 Visual Studio 2017 社区有问题。我用 Python 安装了 Visual,但 Intellisense 没有检测到 Python 模块。 Screen1

Screen2

Screen3

Screen4

我修复了 Visual Studio - 它没有解决问题。 我重新安装了 python 3.64 - 它也没有解决问题。

【问题讨论】:

  • 欢迎来到 SO。请参加 SO 之旅并阅读How do I ask a good question?。请不要发布代码和错误消息的图片,直接在此处发布文本。我建议包括更多细节。

标签: python visual-studio environment-variables intellisense


【解决方案1】:

请打开工具/选项,找到 Python 并单击其实验选项卡。应选中第一个复选框(更改后需要重新启动 Visual Studio) - 这应该可以解决您看到的许多问题。

我还建议通过 the tutorial 在 Visual Studio 中使用 Python。这将有助于确保您正确配置了所有内容。

【讨论】:

    猜你喜欢
    • 2018-09-21
    • 1970-01-01
    • 1970-01-01
    • 2017-08-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-09-11
    • 2017-08-03
    相关资源
    最近更新 更多