title: Unresolved import error - Python virtual-environment
body: <p>I have created a virtual environment in VSCode on mac os. </p>
  
  <p>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". </p>
  
  <p>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.</p>
  
  <p>Please help.</p>
  
  <p><a href="https://i.stack.imgur.com/K66hC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K66hC.png" alt="enter image description here"></a></p>