Reputation: 4820
pip install
Upvotes: 2
Views: 1152
Reputation: 5982
When I open a new terminal, the name of virtual environment is not shown.
The name cannot be shown, because in order to see the name you must first activate the virtual environment. You have to
sh bin/activate
Then, the name will be shown.
Without an active virtual environment, pip will install the packages into
/usr/lib/python3
when run with admin rights (e.g. using sudo
)$HOME/.local/lib/python3
when run without admin rightsAnd the repository the packages will be downloaded from should normally be pypi.org.
Upvotes: 1