Use python -m venv
See original GitHub issueFor 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:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
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
@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.
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.