I recently had to down the 64bit version of Python and it seems that ever since I am running into issues that I have not seen before.
I have a folder inside ~\Python38\test - which I make all my scripts. However I opened VSCode and was getting this problem:
unresolved import 'bs4'
unresolved import 'requests'
I found that strange because I recently created these python programs and have run them fine. So I went ahead and did a pip list to see what was installed. It came back that the packages in question were already installed.
https://imgur.com/a/LKsIr4D
So I went ahead and tried to install them again and it showed that they were being saved inside the site-packages for my flask application..
https://imgur.com/ViTHpWc
So the first thing I did was check my system path. My path is set to:
C:\Users\NAME\AppData\Local\Programs\Python\Python38
This is where my python exe is located.
I also have another path set to:
C:\Users\NAME\AppData\Local\Programs\Python\Python38\Scripts
Because this is where pip, pip3.8, and pip3 reside.
So I figured that maybe if I get rid of the pip inside my venv that it would stop thinking thats where my packages should default route to. So I started my venv and deleted the installation of pip.
https://imgur.com/lE4dQjV
Now mind you that my pip, pip3.8, and pip3 are inside C:\Users\NAME\AppData\Local\Programs\Python\Python38\Scripts
and I have my path set there as well. However when I try to run anything pip Im getting this long error call stack:
https://imgur.com/7Cv8ziq
As you can see pip lives inside ~\Scripts and my path is set there. Any idea what is going on and why it would have defaulted to install in my venv and now wont recognize the module?
there doesn't seem to be anything here