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 python -m venv

See original GitHub issue

For python3, virtualenvs should be created using python -m venv https://docs.python.org/3/library/venv.html#creating-virtual-environments

But in https://github.com/sashahart/vex/blob/b7680c40897b8cbe6aae55ec9812b4fb11738192/vex/make.py#L46 the command is set to use virtualenv. It would be nice to detect if there is a venv module available and use that instead of the virtualenv command

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
brianbruggemancommented, Jan 17, 2018

@rsyring venv is now part of the standard library in python3. While I accept that there is a work-around, I think that vex should work with the standard library version.

1reaction
brianbruggemancommented, Dec 10, 2018

At this point, I’ve left vex and created my own tool that does what I want it to do because it’s really obvious we disagree on direction and I am not going to waste my time arguing with someone that’s not interested in new ideas.

Read more comments on GitHub >

github_iconTop Results From Across the Web

venv — Creation of virtual environments — Python 3.11.1 ...
New in version 3.3. ... The venv module supports creating lightweight “virtual environments”, each with their own independent set of Python packages installed...
Read more >
Python Virtual Environments: A Primer
The instructions in this tutorial use Python's venv module to create virtual environments. This module is part of Python's standard library, and ...
Read more >
How to Set Up a Virtual Environment in Python – And Why It's ...
Using virtual environments is recommended for software development projects that generally grow out of a single Python script, and Python ...
Read more >
Create virtual environment using venv | Python - GeeksforGeeks
For older versions of Python, virtual machines require installing a third-party tool called virtualenv. It's been integrated into newer versions ...
Read more >
"python -m venv env" vs "python3 - Stack Overflow
3. Your system would have multiple versions of python installed. · Could it be that you have two different pythons installed? · Both...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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