3

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

3
  • 2
    Could be that print is leveraging sys.stdout.write and sys.stdout is somehow None Commented Feb 4, 2019 at 15:27
  • @C.Nivs and how could i solve this problem Commented Feb 4, 2019 at 16:00
  • 1
    it seems that vscode might be broken github.com/Microsoft/vscode/issues/19750 Commented Feb 4, 2019 at 16:26

1 Answer 1

1

Running Visual Studio Code in the administrator mode solved that issue for me.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.