Updated How to create a virtualenv and activate it immediately in a script (markdown)

Ryan Boehning
2020-11-18 13:34:06 -08:00
parent 4fab4161d2
commit aba98bead2

@@ -2,7 +2,8 @@
# PROBLEM
pyenv virtualenv 3.9.0 foo-3.9.0
poetry install # won't install packages to the new virtualenv!
```
```bash
# SOLUTION
pyenv virtualenv 3.9.0 foo-3.9.0
export VIRTUAL_ENV="$(pyenv virtualenv-prefix)/envs/foo-3.9.0"