【问题标题】:Visual Studio Code (Python) - 'NoneType' object has no attribute 'write'Visual Studio Code (Python) - 'NoneType' 对象没有属性 'write'
【发布时间】:2019-02-04 15:18:53
【问题描述】:

我在整个互联网上搜索了一个解决方案,但没有找到。

好吧,我最近安装了 Anaconda 包,以及带有所有必需扩展的 VS Code,但就像我尝试运行的每种语言一样:

print('Hello World')

但代码停止并显示以下消息:'NoneType' object has no attribute 'write'

【问题讨论】:

标签: python debugging visual-studio-code


【解决方案1】:

在管理员模式下运行 Visual Studio Code 为我解决了这个问题。

【讨论】:

    猜你喜欢
    • 2020-05-18
    • 2023-01-14
    • 2016-06-16
    • 2018-07-10
    • 2019-01-05
    • 2013-04-19
    • 2019-10-03
    • 2021-01-02
    相关资源
    最近更新 更多