Intellisense in python tools for visual studio

mpardalos picture mpardalos · Sep 23, 2014 · Viewed 20k times · Source

Sorry if this seems like a noob question but I have never used visual studio. I am trying to use PTVS and while it works great in general, I can't get Intellisense to work for imports from the local directory. When I import a local module I get

Unable to resolve (module). Intellisense may be missing for this module

Thanks in advance

Answer

0x8BADF00D picture 0x8BADF00D · Feb 8, 2015

I also experienced that issue even if I had added all my files to the project. Deleting the __init__.py file in my source root directory did the trick, see this issue on the PTVS repository.