Path: csiph.com!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: mike Newsgroups: linux.debian.maint.python Subject: zlib missing issue - bookworm Date: Fri, 10 May 2024 18:30:01 +0200 Message-ID: X-Original-To: "debian-python@lists.debian.org" X-Mailbox-Line: From debian-python-request@lists.debian.org Fri May 10 16:27:58 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=0.002 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=no autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_NE_HELO=0.5 (check from: .kuhns. - helo: .nmtao201.oxsus-vadesecure. - helo-domain: .oxsus-vadesecure.) FROM_NOT_FAILED_HELO(DOMAIN)=1 REV_IP_EQ_HELO_DOMAIN=-1.25; rate: -1.25 X-Greylist: delayed 309 seconds by postgrey-1.36 at bendel; Fri, 10 May 2024 16:04:47 UTC Authentication-Results: oxsus-vadesecure.net; auth=pass smtp.auth=mike@kuhns.org smtp.mailfrom=mike@kuhns.org; Arc-Seal: i=1; a=rsa-sha256; d=oxsus-vadesecure.net; s=arc-202309-rsa2048; t=1715356773; cv=none; b=UpPv9I/m1TEamqsEz2FWLv6iS5OowIGUwKB0eYjitMdSt5f1W11VCSPCkuz1rOq3Xt1JUOkQLY7Zeq3+a/N9kAfpCm7TRdOWr6X9qD8NJ+9TDox6cEyJAF2aP7irnNDc1BvGuiuePzPRyfK8JFU8ForFzIB0zZR7rZnnNbSYmC7F6abBCEcTjEoAwDY3AdyJDtpo8O20Ov87xqSq31flT9eaw6bc3s3/0mfa9HvCyT4xZGDteun7SMyzzNnOssq0cCww1Qgs3wyqjej9VAw9Q3HUGgJsu8TfvyAaVohQgTNMw4tCPO+8LgDdnWHSFRtYXJL7TW7HmjbI6B8zyRfumA== Arc-Message-Signature: i=1; a=rsa-sha256; d=oxsus-vadesecure.net; s=arc-202309-rsa2048; t=1715356773; c=relaxed/relaxed; h=from:reply-to:subject:date:to:cc:resent-date:resent-from:resent-to:resent-cc:in-reply-to:references:list-id:list-help:list-unsubscribe:list-subscribe:list-post:list-owner:list-archive; bh=OGOGYvQTx0UnEVeFByk07Nd9P/lFhU4qqzCt61Sb+LA=; b=LUzr+8Z7PPJNDh/KH8QXB/JCqo/gMs1fnaOjuqoBSYgx+df22Rtzg+gStAjh/4Q6e8b/PKZvPAJw317Z2FaE99qS6sNsRsgldcGHfY1S03jkcUH17syLX/o7lBGsb0X6n8TULZ2ejXUgD+eHYmVVDS5Nl6TSAWzZwTlXt8gWSTGSarYLRv78l7n74u874JIzNtCgxEeExefu9ofPDY/uG1KWO0R6f02hc/EW/4D45RCGm4NwM/mCJ0H1Bn/d3qz4aZCbmgqUSzqHKMWaB7UQ5CA4b8ZD6sXDuuyqeROqED81BF1NJxsu5fcDvAaPZFypTLwzc/TSpcXC2N347xMTQg== Arc-Authentication-Results: i=1; MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_490982_210853042.1715356772366" Importance: Normal X-Mailer: Open-Xchange Mailer v8.24.36 X-Originating-IP: 173.69.147.84 X-Originating-Client: open-xchange-appsuite X-Mailing-List: archive/latest/21855 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/573144427.490983.1715356772368@webmail-oxcs.networksolutionsemail.com Approved: robomod@news.nic.it Lines: 142 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 10 May 2024 11:59:32 -0400 (EDT) X-Original-Message-ID: <573144427.490983.1715356772368@webmail-oxcs.networksolutionsemail.com> Xref: csiph.com linux.debian.maint.python:15825 ------=_Part_490982_210853042.1715356772366 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Anyone know how to fix this. I have tried purging and reinstalling python3, no luck with that. apt install on zlib stuff shows I already have current installed. also I installed mutagen module and it's in python3 module directory. But I get a module not found because I am assuming I need to run in an venv. And you see from below the issue there. I found link on the web that showed installing pip on bookworm and the output showed zlib getting linked in. purging pip and reintalling does not show zlib being included. as user: python3 -m venv virtual-env Error: Command '['/home/mjkuhn/PYTHON/virtual-env/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. as root: python3 -Im ensurepip --upgrade --default-pip Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.7/ensurepip/__main__.py", line 5, in sys.exit(ensurepip._main()) File "/usr/local/lib/python3.7/ensurepip/__init__.py", line 204, in _main default_pip=args.default_pip, File "/usr/local/lib/python3.7/ensurepip/__init__.py", line 117, in _bootstrap return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths) File "/usr/local/lib/python3.7/ensurepip/__init__.py", line 27, in _run_pip import pip._internal zipimport.ZipImportError: can't decompress data; zlib not available debian-python@lists.debian.org ~ ------=_Part_490982_210853042.1715356772366 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Anyone know how to fix this.  I have tried purging and reinstalling python3, no luck with that.
 
apt install on zlib stuff shows I already have current installed.
 
also I installed mutagen module and it's in python3 module directory. But I get a module not found because I am assuming I need to run in an venv.
And you see from below the issue there.
 
I found link on the web that showed installing pip on bookworm and the output showed zlib getting linked in. purging pip and reintalling does not show zlib being included.
 
as user: 
 
python3 -m venv virtual-env
Error: Command '['/home/mjkuhn/PYTHON/virtual-env/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
 
 
as root:
 
python3 -Im ensurepip --upgrade --default-pip

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.7/ensurepip/__main__.py", line 5, in <module>
    sys.exit(ensurepip._main())
  File "/usr/local/lib/python3.7/ensurepip/__init__.py", line 204, in _main
    default_pip=args.default_pip,
  File "/usr/local/lib/python3.7/ensurepip/__init__.py", line 117, in _bootstrap
    return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
  File "/usr/local/lib/python3.7/ensurepip/__init__.py", line 27, in _run_pip
    import pip._internal
zipimport.ZipImportError: can't decompress data; zlib not available
debian-python@lists.debian.org
~                                   
------=_Part_490982_210853042.1715356772366--