Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct support for core venv? #78

Open
falloutphil opened this issue Apr 19, 2020 · 1 comment
Open

Direct support for core venv? #78

falloutphil opened this issue Apr 19, 2020 · 1 comment

Comments

@falloutphil
Copy link

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

@kresdjan
Copy link

kresdjan commented Nov 29, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants