How to create a virtualenv #34
caioariede
announced in
Documentation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In your project folder, just type:
If a Python version is not specified dpv will pick up the latest version you have installed.
Other examples
Create a virtualenv with a specific Python version
The following will create a virtualenv using Python 3.9.14
If you omit the minor part, dpv will install any version that matches it.
The example above, would also install Python 3.9.14 if it's the latest version of 3.9.x installed.
You can be even more brief:
This would install any version of Python 3.x
Create a temporary virtualenv
If you don't have a project folder or just want a temporary virtualenv to play with, check out:
Want more?
Beta Was this translation helpful? Give feedback.
All reactions