pyvenv icon indicating copy to clipboard operation
pyvenv copied to clipboard

No support for python -m venv application

Open ronflima opened this issue 5 years ago • 2 comments

There is no support for python -m venv virtual manager, which is default in python 3 projects. Since python 2 will end support in 2020, it is a good idea to have support for default python 3´s virtual environment manager instead of virtualenv application.

ronflima avatar Apr 14 '19 12:04 ronflima

whats the work around for this? :thinking:

divansantana avatar Oct 26 '19 22:10 divansantana

I'd expect this commit (https://github.com/jorgenschaefer/pyvenv/commit/392e28dad42dc6cc9507e496391a32482f9f1881) to fallback to "-m venv" use if virtualenv isn't installed:

Are people saying there is not correctly functioning support with the latest version (this commit is 8 months old, from Sept 2019) - a quick check suggests it works fine?

          (call-process python-executable nil t t
                        "-m" "venv" venv-dir)

falloutphil avatar Apr 25 '20 21:04 falloutphil