0

This issue happening starting from today when I was doing some coding in Python in Visual Studio Code. I usually develop my program in a virtual environment, but today for some reason, when I tried to execute selection of codes, I kept getting "& was unexpected at this time". I tried Google the issue but doesn't seem a lot of people encounter the issue before.

Additional detail: I am using Python 3.7.2 64-bit. I am activating my environment using Windows Command Prompt. Creating my virtual environment using the Venv module. My VS Code version is 1.34.0.

I have attached a screenshot. VS Code Error Message

1
  • You are running a command prompt not a python interpretor ...
    – DavidPostill
    Commented Jun 5, 2019 at 7:51

1 Answer 1

0

turns out it was the issue with latest version of the Microsoft Python extension. I rolled back to the previous version and that fixed the issue.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .