Re:PyPy gets funding from Mozilla for Python 3.5 support
by raverbashing on Tuesday August 09, 2016 @04:10PM
(#12257371)
3.4. gave a good virtualenv by default. That helps a lot
Re:PyPy gets funding from Mozilla for Python 3.5 support
by brianwawok on Tuesday August 09, 2016 @04:39PM
(#12257557)
I still use normal virtualenv, what am I missing by not using pyenv?
Re:PyPy gets funding from Mozilla for Python 3.5 support
by raverbashing on Tuesday August 09, 2016 @04:43PM
(#12257573)
3.4 gave us pip installed by default https://docs.python.org/3/library/venv.html
Before that it would give you an empty venv, not even setuptools
Yes, you can use the Python 2 virtualenv on Py 3 but I remember that there were some problems
Re:PyPy gets funding from Mozilla for Python 3.5 support
by takeda on Tuesday August 09, 2016 @05:35PM
(#12257871)
The usage is essentially the same, just a different command. Huge benefit though is that if you have Python 3.4+ installed you already have the virtual env and pip installed, so things are much simpler.
Re:PyPy gets funding from Mozilla for Python 3.5 support
by StavrosK on Tuesday August 09, 2016 @04:38PM
(#12257546)
Which one is that? I'm not aware of it.
Re:PyPy gets funding from Mozilla for Python 3.5 support
by captainmuon on Tuesday August 09, 2016 @05:12PM
(#12257732)
python -m venv
I'm not sure what the differences are to old virtualenv, but the biggest feature is that it works out of the box as long as you have Python > 3.4. No more googling "how to install virtualenv" or "easy_install pip; pip install virtualenv" stuff.
Re:PyPy gets funding from Mozilla for Python 3.5 support
by rspeer on Tuesday August 09, 2016 @11:30PM
(#12259337)
Unless you're on Ubuntu, where they ship a non-functional version of venv and require you to "sudo apt install" python-venv to get the working version, defeating the entire point of a simple module in the stdlib that lets you manage your Python environment as a user.
The big improvement on 16.04 is at least the error message explains what's going on.
Re:PyPy gets funding from Mozilla for Python 3.5 support
by brettcannon on Tuesday August 09, 2016 @05:19PM
(#12257765)
The venv module in the stdlib: https://docs.python.org/3/library/venv.html#module-venv
If these had been available in Python 3.2 or even better 3.0, the switch would have been far easier for corporate users that need benefits before accepting the cost of change...