Python Package not Found
Monday, January 19, 2026
This is a repost from my old blog. First posted in 8/22/2024.
Ok, this is a rookie issue. I had virtual environment created, activated and the package installed for that virtual environment, but somehow I bumped into this error:
Import could not be resolved [Pylance]
Turns out to be the interpreter is pointing to the wrong one in my VS code bottom right. Changing it to the one in virtual environment fixed that.