Reputation: 43
I am trying to install packges in virtual environment but it is installed in the main python lib folder not in the virtual environment?
When create a virtual environment in windows using this command
python -m venv venv
It creates the virtual environment and then I activate the virtual environment using
venv\Scripts\activate
and then I try to install any packages like
pip install Django
it installes and gets me that the Requirement already satisfied but when try to see the packeges in the venv\lib\site-packages
it doesn't show up?
Upvotes: 0
Views: 34