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


Groups > linux.debian.maint.python > #15825 > unrolled thread

zlib missing issue - bookworm

Started bymike <mike@kuhns.org>
First post2024-05-10 18:30 +0200
Last post2024-05-10 20:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.maint.python


Contents

  zlib missing issue - bookworm mike <mike@kuhns.org> - 2024-05-10 18:30 +0200
    Re: zlib missing issue - bookworm Andrey Rakhmatullin <wrar@debian.org> - 2024-05-10 20:00 +0200

#15825 — zlib missing issue - bookworm

Frommike <mike@kuhns.org>
Date2024-05-10 18:30 +0200
Subjectzlib missing issue - bookworm
Message-ID<ICBi9-cqpT-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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
~                                   

[toc] | [next] | [standalone]


#15826

FromAndrey Rakhmatullin <wrar@debian.org>
Date2024-05-10 20:00 +0200
Message-ID<ICCHg-cr8D-9@gated-at.bofh.it>
In reply to#15825

[Multipart message — attachments visible in raw view] — view raw

On Fri, May 10, 2024 at 11:59:32AM -0400, mike wrote:
> Anyone know how to fix this.  I have tried purging and reinstalling python3, no luck with that.
This isn't a good place for asking about locally-built Python
installations.

>   File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
          ^^^^^^^^^^

-- 
WBR, wRAR

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web