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 ~