Re: Need a Python 3.8 virtual environment

2021-03-03 Thread Steven Robbins
Thank you so much to the many folks on debian-python who responded with instructions and pointers! On Wednesday, March 3, 2021 4:45:46 A.M. CST Julien Palard wrote: > As other told, the right way is probably to compile it yourself (or use > pyenv, but I don't like pyenv "shims", I prefer to

Re: Need a Python 3.8 virtual environment

2021-03-03 Thread Karthik
On Wed, Mar 3, 2021 at 8:56 AM Steven Robbins wrote: > > Hi, > > I'm trying to use a (non-Debian) python system built on python 3.8. Debian's > default is currently 3.9 so I am advised to use a virtual environment. Being > a newbie, I searched around and found a writeup covering several

Re: Need a Python 3.8 virtual environment

2021-03-03 Thread Matthias Klose
On 3/3/21 6:56 PM, Andrey Rahmatullin wrote: > On Wed, Mar 03, 2021 at 05:39:04PM +, Stefano Rivera wrote: >> You need python3.8-venv. > Which doesn't exist, at least in the current repos. you rebuild it from python3-stdlib-extensions. but yes, the binaries don't exist in the archive.

Re: Need a Python 3.8 virtual environment

2021-03-03 Thread Andrey Rahmatullin
On Wed, Mar 03, 2021 at 05:39:04PM +, Stefano Rivera wrote: > You need python3.8-venv. Which doesn't exist, at least in the current repos. -- WBR, wRAR signature.asc Description: PGP signature

Re: Need a Python 3.8 virtual environment

2021-03-03 Thread Stefano Rivera
Hi Steven (2021.03.03_03:17:36_+) > steve@riemann:/tmp$ python3.8 -m venv blah38 > The virtual environment was not created successfully because ensurepip is not > available. On Debian/Ubuntu systems, you need to install the python3-venv > package using the following command. > > apt-get

Re: Need a Python 3.8 virtual environment

2021-03-03 Thread Jeremy Stanley
On 2021-03-03 10:45:46 + (+), Julien Palard wrote: [...] > I'm using a bash function [1] to easily recompile needed Pythons (I test > some projects with Python 3.5 to 3.9), but it's not that hard without my > bash function: [...] This is pretty much identical to how I tackle it too,

Re: Need a Python 3.8 virtual environment

2021-03-03 Thread Andrey Rahmatullin
On Wed, Mar 03, 2021 at 08:32:01AM -0500, Yaroslav Halchenko wrote: > > I'm trying to use a (non-Debian) python system built on python 3.8. > > Debian's > > default is currently 3.9 so I am advised to use a virtual environment. > > Being > > a newbie, I searched around and found a writeup

Re: Need a Python 3.8 virtual environment

2021-03-03 Thread Yaroslav Halchenko
On Tue, 02 Mar 2021, Steven Robbins wrote: > Hi, > I'm trying to use a (non-Debian) python system built on python 3.8. Debian's > default is currently 3.9 so I am advised to use a virtual environment. > Being > a newbie, I searched around and found a writeup covering several different >

Re: Need a Python 3.8 virtual environment

2021-03-03 Thread Julien Palard
Le 2021-03-03 à 04:17, Steven Robbins a écrit : > I'm trying to use a (non-Debian) python system built on python 3.8. Debian's > default is currently 3.9 so I am advised to use a virtual environment. As other told, the right way is probably to compile it yourself (or use pyenv, but I don't like

Re: Need a Python 3.8 virtual environment

2021-03-03 Thread Nicolas Chauvat
Hi Steven, On Tue, Mar 02, 2021 at 09:17:36PM -0600, Steven Robbins wrote: > I'm trying to use a (non-Debian) python system built on python 3.8. Debian's > ... > Is there something I've missed? Do you know https://github.com/saghul/pythonz ? I do not use it myself, but a colleague told me

Re: Need a Python 3.8 virtual environment

2021-03-02 Thread Pokoradi Balazs
Hi Steven, i tested in a freshly installed virtualbox machine and was able to create a virtual environment, using the following steps: built python3.8.7 form tarball (|https://www.python.org/ftp/python/3.8.7/Python-3.8.7.tar.xz)| ran python3.8 -m venv test387 and then could activate it.

Re: Need a Python 3.8 virtual environment

2021-03-02 Thread Andrey Rahmatullin
It looks like the only sane way to use non-default Python versions is to build them locally using pyenv. -- WBR, wRAR signature.asc Description: PGP signature

Re: Need a Python 3.8 virtual environment

2021-03-02 Thread Jerome Kieffer
On Tue, 02 Mar 2021 21:17:36 -0600 Steven Robbins wrote: > Hi, > > I'm trying to use a (non-Debian) python system built on python 3.8. Debian's > default is currently 3.9 so I am advised to use a virtual environment. > Being > a newbie, I searched around and found a writeup covering

Need a Python 3.8 virtual environment

2021-03-02 Thread Steven Robbins
Hi, I'm trying to use a (non-Debian) python system built on python 3.8. Debian's default is currently 3.9 so I am advised to use a virtual environment. Being a newbie, I searched around and found a writeup covering several different virtualization tools [1]. Note I am using Debian 'sid'.