Use venv instead of virtualenv if available
See original GitHub issueI’m wondering if it’s worth using venv
if available instead of virtualenv
. That would also skip having to install virtualenv
in the first place.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:53
- Comments:38 (17 by maintainers)
Top Results From Across the Web
Virtualenv and venv: Python virtual environments explained
To install virtualenv, just use pip install virtualenv . To create a virtual environment directory with it, type virtualenv /path/to/directory .
Read more >venv — Creation of virtual environments — Python 3.11.1 ...
A virtual environment is created on top of an existing Python installation, known as the virtual environment's “base” Python, and may optionally be...
Read more >What is the difference between venv, pyvenv, pyenv ...
However, if you're using Python 3.3 or later, pyenv-virtualenv will try to run python -m venv if it is available, instead of virtualenv...
Read more >virtualenv vs. venv (beginner - intermediate) anthony explains ...
today I explain the basics of virtualenv / venv and why you should use them! I also compare / contrast venv and why...
Read more >Python Virtual Environments: A Primer
The instructions in this tutorial use Python's venv module to create ... your success when you develop a great app, making it possible...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i don’t think so, i prefer using the virtualenv command personally
I urge @kennethreitz to reconsider his comment here. Using python3 -m venv instead of virtualenv is recommended by the standard documentation. I am personally put off using pipenv because it uses virtualenv. I only use Python 3 and only use venv nowadays.