Python package installation in Ubuntu 24.04 AEE
root@job-xxxx:~# aptitude why python3-jsonschema
i docker-ce Depends iptables
i A iptables Suggests firewalld
p firewalld Depends python3-nftables (>= 0.9.3-2~)
p python3-nftables Depends python3-jsonschema
root@job-xxxx:~# python3 -m pip install jsonschema==4.23
...
Attempting uninstall: jsonschema...Found existing installation: jsonschema 4.10.3
ERROR: Cannot uninstall jsonschema 4.10.3, RECORD file not found. Hint: The package was installed by debian.root@job-xxxx:~# python3 -m venv myvenv
root@job-xxxx:~# source myvenv/bin/activate
(myvenv) root@job-xxxx:~# python3 -m pip install jsonschema==4.23
...
Successfully installed jsonschema-4.23.0 ...Last updated
Was this helpful?