question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use venv instead of virtualenv if available

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Reactions:53
  • Comments:38 (17 by maintainers)

github_iconTop GitHub Comments

75reactions
kennethreitzcommented, Jan 23, 2017

i don’t think so, i prefer using the virtualenv command personally

48reactions
bulletmarkcommented, Sep 14, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found