[python] packages updates that are distutils installed project
{"kernel":"4.19.86","hostname":"to","system":"ARMv7 Processor rev 1 (v7l)","model":"Turris Omnia","board_name":"cznic,turris-omnia","release":{"distribution":"TurrisOS","version":"6.0-future","revision":"4dc33f8","target":"mvebu/cortexa9","description":"TurrisOS 6.0-future 4dc33f8"}}
pip 19.3.1 from /usr/lib/python3.8/site-packages/pip (python 3.8)
pip install -U pyroute2
ERROR: Cannot uninstall 'pyroute2'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
https://github.com/svinota/pyroute2/releases/tag/0.5.7
version 0.5.7: wireguard support
pip install -U PyYAML
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
https://github.com/yaml/pyyaml/releases/tag/5.2
pip install -U ubus
Collecting ubus
Using cached https://files.pythonhosted.org/packages/a4/42/6d098fe93dd3ec6632cc6efb4d16a6ff870727ac7de24c6f3c7ab73ea878/ubus-0.1.1.tar.gz Building wheels for collected packages: ubus
Building wheel for ubus (setup.py) ... error
ERROR: Failed building wheel for ubus
Running setup.py clean for ubus
Failed to build ubus
Installing collected packages: ubus
Found existing installation: ubus 0.0.0
Uninstalling ubus-0.0.0:
Successfully uninstalled ubus-0.0.0
Running setup.py install for ubus ... error
Rolling back uninstall of ubus
Moving to /usr/lib/python3.8/site-packages/ubus-0.0.0-py3.8.egg-info from /usr/lib/python3.8/site-packages/~bus-0.0.0-py3.8.egg-info
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install->d7cwiki9/ubus/setup.py'"'"'; file='"'"'/tmp/pip-install-d7cwiki9/ubus/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', >open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/>pip-record-_e7pvr8g/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.