Pyenv-virtualenv: Add a --skip-existing option when creating a virtualenv

Created on 18 Jul 2015  路  2Comments  路  Source: pyenv/pyenv-virtualenv

I would like pyenv virtualenv --skip-existing 3.4.3 photos to skip making the photos virutalenv if it already exists, much like pyenv install --skip-existing 3.4.3 skips installing 3.4.3 if it's installed.

All 2 comments

Use [ -d "$(pyenv root)/versions/3.4.3" ] instead.

This solution seems to have gotten a lot of downvotes. Perhaps it's worth reconsidering.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andymccurdy picture andymccurdy  路  9Comments

jackmaney picture jackmaney  路  7Comments

f8ttyc8t picture f8ttyc8t  路  7Comments

CMLL picture CMLL  路  6Comments

draeath picture draeath  路  4Comments