jorgenschaefer / pyvenv

Python virtual environment interface for Emacs
364 stars 57 forks source link

No support for python -m venv application #86

Open ronflima opened 5 years ago

ronflima commented 5 years ago

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.

divansantana commented 5 years ago

whats the work around for this? :thinking:

falloutphil commented 4 years ago

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)