Answers for "how to install libraries into a venv command line python"

13

activate python virtualenv in cmd

venv\Scripts\activate
Posted by: Guest on May-22-2020
0

how to install a package in virtualenv python

### install library `virtualenv`
$ pip3 install virtualenv

### call module `venv` with the name for your environment
$ python3 -m venv venv_name

### activate the created environment
$ source venv_name/bin/activate  #key step
    
### install the packages
(venv_name) user@host: pip3 install "package-name"
Posted by: Guest on March-09-2022

Code answers related to "how to install libraries into a venv command line python"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language