Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #15825
| From | mike <mike@kuhns.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | zlib missing issue - bookworm |
| Date | 2024-05-10 18:30 +0200 |
| Message-ID | <ICBi9-cqpT-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[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
~
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread
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
csiph-web