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
~
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div class="default-style">
<div class="default-style">
<div class="default-style">
Anyone know how to fix this. I have tried purging and reinstalling python3, no luck with that.
</div>
<div class="default-style">
</div>
<div class="default-style">
apt install on zlib stuff shows I already have current installed.
</div>
<div class="default-style">
</div>
<div class="default-style">
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.
</div>
<div class="default-style">
And you see from below the issue there.
</div>
<div class="default-style">
</div>
<div class="default-style">
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.
</div>
<div class="default-style">
</div>
<div class="default-style">
as user:
</div>
<div class="default-style">
</div> python3 -m venv virtual-env
<br>
Error: Command '['/home/mjkuhn/PYTHON/virtual-env/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
</div>
<div class="default-style">
</div>
<div class="default-style">
</div>
<div class="default-style">
as root:
</div>
<div class="default-style">
</div>
<div class="default-style">
python3 -Im ensurepip --upgrade --default-pip
</div>
<div class="default-style">
<br>
Traceback (most recent call last):
<br>
File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
<br>
"__main__", mod_spec)
<br>
File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
<br>
exec(code, run_globals)
<br>
File "/usr/local/lib/python3.7/ensurepip/__main__.py", line 5, in <module>
<br>
sys.exit(ensurepip._main())
<br>
File "/usr/local/lib/python3.7/ensurepip/__init__.py", line 204, in _main
<br>
default_pip=args.default_pip,
<br>
File "/usr/local/lib/python3.7/ensurepip/__init__.py", line 117, in _bootstrap
<br>
return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
<br>
File "/usr/local/lib/python3.7/ensurepip/__init__.py", line 27, in _run_pip
<br>
import pip._internal
<br>
zipimport.ZipImportError: can't decompress data; zlib not available
<br>
debian-python@lists.debian.org
<br>
~
</div>
</div>
</body>
</html>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)