0

I have created a virtual environment in VSCode on mac os.

I have pip installed 'requests' module in the virtual environment. The environment is activated. When I import the requests module in my program, it gives the required output but it shows a problem that - "Unresolved import error".

I have attached a screenshot that shows the exact problem. You can also see that output is generated and the module is installed in the virtual environment folder.

Please help.

enter image description here

lAaravl
  • 929
  • 2
  • 9
  • 20
  • Does this answer your question? [Pylint "unresolved import" error in visual studio code](https://stackoverflow.com/questions/53939751/pylint-unresolved-import-error-in-visual-studio-code) (more specifically the 2nd answer) – Karan Shishoo Feb 21 '20 at 06:07
  • @KaranShishoo - Thank you, I appreciate your help. I had changed the 'pythonPath' to path/python3. I changed it back to path/python and it worked. Any clue why ? – lAaravl Feb 21 '20 at 06:30

0 Answers0