For the sake of anyone also using visual studio from a windows environment:
I realized that I could see my module installed when i ran pip install
py pip install [moduleName]
py pip list
However debugging in visual studio was getting "module not found". Oddly, i was successfully running import [moduleName]
when i ran the interpreter in powershell.
Reason:
visual studio was using the wrong interpreter at:
C:\Users\[username]\AppData\Local\Programs\Python\Python37\
What I REALLY wanted was visual studio to use the virtualenv that i setup for my project. To do this, right click Python Environments in "solution explorer", select Add Virtual Environment..., and then select the folder where you created your virtual environment. Then, under project settings, under the General tab, select your virtual environment in the dropdown.
Now visual studio should be using the same interpreter and everything should play nice!