pip config proxy 1

pip config proxy

pip install --proxy=https://[username:password@]proxyserver:port somepackage

Here is what the above code is Doing:
1. It’s creating a new directory called “my_project”
2. It’s creating a new virtual environment called “my_project_env”
3. It’s activating the virtual environment
4. It’s installing the package “somepackage”
5. It’s deactivating the virtual environment

Similar Posts