Which version of get-pip.py were you using? For python2.7 this works (now?):
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | python2 /dev/stdin

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1964745

Title:
  can't install pip because python2.7 has no zlib support

Status in python2.7 package in Ubuntu:
  New

Bug description:
  can't install pip because python2.7 has no zlib support

  
  root@XX:~# python2 get-pip.py
  Traceback (most recent call last):
    File "get-pip.py", line 23974, in <module>
      main()
    File "get-pip.py", line 199, in main
      bootstrap(tmpdir=tmpdir)
    File "get-pip.py", line 82, in bootstrap
      from pip._internal.cli.main import main as pip_entry_point
  zipimport.ZipImportError: can't decompress data; zlib not available

  root@XX:~# apt install zlib1g-dev
  zlib1g-dev is already the newest version (1:1.2.11.dfsg-2ubuntu7).

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: python2.7 2.7.18-8build1
  ProcVersionSignature: Ubuntu 5.13.0-35.40-generic 5.13.19
  Uname: Linux 5.13.0-35-generic x86_64
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Mon Mar 14 12:12:22 2022
  InstallationDate: Installed on 2021-03-20 (359 days ago)
  InstallationMedia: Ubuntu-Server 20.10 "Groovy Gorilla" - Release amd64 
(20201022)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: python2.7
  UpgradeStatus: Upgraded to impish on 2022-02-12 (30 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1964745/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to