virtualenv

Опубликовано: 2018-06-11

install

~# pip install virtualenv

create

~$ virtualenv virt

activate

~$ source bin/activate

save current state

(virt) ~/virt$ pip list (virt) ~/virt$ pip freeze --local > requirements.txt

deactivate

(virt) ~/virt$ deactivate

restore

~$ pip install -r requirements.txt
© Все права защищены 2011-2018