Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #13256

Re: Need a Python 3.8 virtual environment

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod
From Stefano Rivera <stefanor@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Need a Python 3.8 virtual environment
Date Wed, 03 Mar 2021 18:40:02 +0100
Message-ID <BODDA-3fE-3@gated-at.bofh.it> (permalink)
References <BOqmZ-3IX-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Mar 3 17:39:22 2021
Old-Return-Path <stefano@rivera.za.net>
X-Amavis-Spam-Status No, score=-6.852 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
Dkim-Signature v=1; a=ed25519-sha256; c=relaxed/simple; d=debian.org; i=@debian.org; q=dns/txt; s=satie-ed25519.stefanor.user; t=1614793144; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to : from; bh=hGctxXc2wakE4772vakVFt0RnmhLGWy6LZbDN+0ESRk=; b=ZoZIwy+yn6jz1YP2xfhJ8arguMsw1rw6cHs6UCPCaY/AvFJTpaU2VMLA6VWCRT0SkBrU5 nJO7wzyGYkZCz5zDg==
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; i=@debian.org; q=dns/txt; s=satie-rsa.stefanor.user; t=1614793144; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to : from; bh=hGctxXc2wakE4772vakVFt0RnmhLGWy6LZbDN+0ESRk=; b=ApMjBrWX42oafo8nSQe2YwwozEFcF+LgTwGOqXR85EsC7HtTdA7spG/KHgHcznIQ+vTjm 8ZMkKembDSqnagEIWx0M65BnhR7x43WCViQaqe2elGLTuG1DsH+ujVClBdM9NJd/Jxg1HeO CrQL1t3p4u50dLiQTvIkKc+bs29vLz9eRbzupkW/QqkntFU9TH8v0snFXHO7JaHsTbkL+lP REBliZjTyzjY+zE1LdNkpDt9dobfYDBPADbD1MO5b88kKCkh6IXZ9uIdjUYtAVcLDYbSaEJ z4Jj+Ka8Fdyq0n0gT2BFmdXnfFzOSHBxzfez0TfzfzjMe7UKJ8Qs995wIi6A==
Mail-Followup-To Steven Robbins <steve@sumost.ca>, debian-python@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
X-Gpg-Public-Key http://www.rivera.za.net/stefano.gpg
User-Agent NeoMutt/20180716
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19040
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20210303173904.wb2htrblk7bwepua@satie.tumbleweed.org.za
Approved robomod@news.nic.it
Lines 40
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Wed, 3 Mar 2021 17:39:04 +0000
X-Original-Message-ID <20210303173904.wb2htrblk7bwepua@satie.tumbleweed.org.za>
X-Original-References <23748341.5eAvVsrXc7@riemann>
Xref csiph.com linux.debian.maint.python:13256

Show key headers only | View raw


Hi Steven (2021.03.03_03:17:36_+0000)
> 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 install python3-venv
> 
> You may need to use sudo with that command.  After installing the python3-venv
> package, recreate your virtual environment.
> 
> Failing command: ['/tmp/blah38/bin/python3.8', '-Im', 'ensurepip', '--
> upgrade', '--default-pip']
> 
> 
> Note that I do have 'python3-venv' installed, but it is the 3.9 version:
> ii  python3-venv                                  3.9.1-1                         
> amd64        pyvenv-3 binary for python3 (default python3 version)
> 
> 
> Is there something I've missed?  

You need python3.8-venv. But even then you may run into a
missing/incompatible distutils (#979819):
https://bugs.debian.org/979819

You can see if you have, by running the failing ensurepip command by
hand.

Hopefully we'll make that situation better soon...

BTW: There's a deadsnakes-like archive for Debian:
https://people.debian.org/~paravoid/python-all/

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Need a Python 3.8 virtual environment Steven Robbins <steve@sumost.ca> - 2021-03-03 04:30 +0100
  Re: Need a Python 3.8 virtual environment Jerome Kieffer <Jerome.Kieffer@esrf.fr> - 2021-03-03 08:00 +0100
  Re: Need a Python 3.8 virtual environment Andrey Rahmatullin <wrar@debian.org> - 2021-03-03 08:20 +0100
  Re: Need a Python 3.8 virtual environment Pokoradi Balazs <pokoradi.1899@gmail.com> - 2021-03-03 09:00 +0100
  Re: Need a Python 3.8 virtual environment Nicolas Chauvat <nicolas.chauvat@logilab.fr> - 2021-03-03 10:10 +0100
  Re: Need a Python 3.8 virtual environment Julien Palard <julien@palard.fr> - 2021-03-03 11:50 +0100
    Re: Need a Python 3.8 virtual environment Jeremy Stanley <fungi@yuggoth.org> - 2021-03-03 15:00 +0100
    Re: Need a Python 3.8 virtual environment Steven Robbins <steve@sumost.ca> - 2021-03-04 04:50 +0100
  Re: Need a Python 3.8 virtual environment Yaroslav Halchenko <debian@onerussian.com> - 2021-03-03 14:40 +0100
    Re: Need a Python 3.8 virtual environment Andrey Rahmatullin <wrar@debian.org> - 2021-03-03 14:40 +0100
  Re: Need a Python 3.8 virtual environment Stefano Rivera <stefanor@debian.org> - 2021-03-03 18:40 +0100
    Re: Need a Python 3.8 virtual environment Andrey Rahmatullin <wrar@debian.org> - 2021-03-03 19:00 +0100
      Re: Need a Python 3.8 virtual environment Matthias Klose <doko@debian.org> - 2021-03-03 19:10 +0100
  Re: Need a Python 3.8 virtual environment Karthik <karthikgatiganti@gmail.com> - 2021-03-03 20:00 +0100

csiph-web