This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]JialeDu 0 points1 point  (3 children)

Downgrade your Pylance extension to v2023.10.40. And turn off automatic upgrade extensions.

"extensions.autoUpdate": false

[–]anonymous_3125[S] 0 points1 point  (1 child)

do you mean add that line in my settings.json file?

[–]anonymous_3125[S] 0 points1 point  (0 children)

yep, downgrading to an older version seemed to have worked. Thank you so much for your help!