porterjamesj/virtualenvwrapper.el

Direct support for core venv?

Opened this issue · 1 comments

Hi,

I was wondering if there was any intention to support the standard "python3 -m venv" method for creating virtual envs? That is, if the provided subset of commands is enough to work with?

The syntax is similar enough that I thought it was worth a punt trying this by writing a wrapper script for virtualenv calling "python3 -m venv $*".

I quickly got embroiled with the issues discussed in the link below however due to Debian/Ubuntu not supporting the full suite of venv commands, it would appear. It's almost enough to send me running back to virtualenv use until this is sorted out.

Thanks,
Phil.

python3 -m ensurepip
ensurepip is disabled in Debian/Ubuntu for the system python.

Python modules for the system python are usually handled by dpkg and apt-get.

apt-get install python-<module name>

Install the python-pip package to use pip itself. Using pip together
with the system python might have unexpected results for any system installed
module, so use it on your own risk, or make sure to only use it in virtual
environments.

https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1290847

I use only the venv module for creating virtual environments. It is impossible to use with Emacs.