mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 07:16:18 -04:00
Updated How to create a virtualenv and activate it immediately in a script (markdown)
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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue