79602075

Date: 2025-05-01 15:12:30
Score: 2
Natty:
Report link

I had a very similar issue occurring across multiple different scripts and various standard packages (pandas, selenium, etc.). Although these Pylance warnings did not disrupt my code, those squiggly yellow lines were annoying - especially knowing that I had likely set up nearly everything correctly.

To resolve these warnings, I just 'Trusted' the window. I believe the original notification popped up in the bottom left of the VS Code UI, but it should be searchable in settings as well.

enter image description here

Here is a picture of the Trusting window that I was seeing. Good luck!

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: CordlessSteve