首页 > 解决方案 > Visual Studio Code (Python) - 'NoneType' object has no attribute 'write'

问题描述

I searched all the internet for a solution and didn't find it.

Well, i recently installed Anaconda Package, and the VS Code with all the required extensions, but like in every language i tried to run a:

print('Hello World')

But the code stopped with the following message: 'NoneType' object has no attribute 'write'

PrintScreen Error Msg

标签: pythondebuggingvisual-studio-code

解决方案


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


推荐阅读