Changing Virtual Environments Workflow in Python

preview_player
Показать описание
There are a few command line tricks you can use to make your life easier when you’re working with these virtual environments. This video will show you a quick walkthrough of the virtual env setup or the virtual env workflow, that you could use for changing between different Python projects.

Рекомендации по теме
Комментарии
Автор

Hasn't the virtualenv package been updated recently? Right now if you install virtualenv and make a new environment with virtualenv command, your activate file (as well as activate.bat etc.) will be in {venv_root}/Scripts/ directory, not {venv_root}/bin .

pawechabrowicz
Автор

i think use` alias activate='deactivate 2> /dev/null, source ./bin/activate' ` may be good

ioussyu
Автор

i'm doing exactly this. saw it in a video :D

ulfgj
Автор

Or just use pipenv and not have to worry about where you are because it handles everything for you.

lwh
join shbcf.ru