Pip upgrade

I recently upgraded pip and now I am getting hit by the fact the version is zorin named. Anyone know how to fix that without creating a virtual environment or docker?

WARNING: Error parsing dependencies of python-apt: Invalid version: '2.4.0-ubuntu4-zorin1'

The naming convention is normal, as Zorin is the maintainer of the repository.

However... Pip itself is at fault for failing to recognize Debian Version Suffixes.

PyPA specifications - Python Packaging User Guide (Way to go, Alyssa...)

That being said... Pip is intended for docker or Virtual use. Since Pip cannot parse APT supplied version numbers, it is best to keep them separate.

If you really want to run Pip as a user in your system environment, you can try flagging to use the legacy resolver

pip install --use-feature=legacy-resolver

Or avoid global commands (like pip check) and stick to local commands or installation.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.