Benjamin-Loison / pip

The Python package installer
https://pip.pypa.io/
MIT License
0 stars 0 forks source link

`ERROR: Cannot uninstall PyQt5 5.15.6, RECORD file not found. Hint: The package was installed by sip-build.` #2

Open Benjamin-Loison opened 6 months ago

Benjamin-Loison commented 6 months ago

Description

pip install -U pip && pip --disable-pip-version-check list --outdated --format=json | python -c "import json, sys; print('\n'.join([x['name'] for x in json.load(sys.stdin)]))" | xargs -n1 pip install -U
Requirement already satisfied: pip in /usr/local/lib/python3.10/dist-packages (23.3.2)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: blinker in /usr/lib/python3/dist-packages (1.4)
Collecting blinker
  Using cached blinker-1.7.0-py3-none-any.whl.metadata (1.9 kB)
Using cached blinker-1.7.0-py3-none-any.whl (13 kB)
Installing collected packages: blinker
  Attempting uninstall: blinker
    Found existing installation: blinker 1.4
ERROR: Cannot uninstall 'blinker'. 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.
Requirement already satisfied: crudini in /usr/lib/python3/dist-packages (0.9.3)
Collecting crudini
  Using cached crudini-0.9.5-py2.py3-none-any.whl.metadata (5.2 kB)
Collecting iniparse>=0.5 (from crudini)
  Using cached iniparse-0.5-py3-none-any.whl (24 kB)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from iniparse>=0.5->crudini) (1.16.0)
Using cached crudini-0.9.5-py2.py3-none-any.whl (23 kB)
Installing collected packages: iniparse, crudini
  Attempting uninstall: iniparse
    Found existing installation: iniparse 0.4
ERROR: Cannot uninstall 'iniparse'. 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.
Requirement already satisfied: iniparse in /usr/lib/python3/dist-packages (0.4)
Collecting iniparse
  Using cached iniparse-0.5-py3-none-any.whl (24 kB)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from iniparse) (1.16.0)
Installing collected packages: iniparse
  Attempting uninstall: iniparse
    Found existing installation: iniparse 0.4
ERROR: Cannot uninstall 'iniparse'. 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.
Requirement already satisfied: pexpect in /usr/lib/python3/dist-packages (4.8.0)
Collecting pexpect
  Using cached pexpect-4.9.0-py2.py3-none-any.whl.metadata (2.5 kB)
Requirement already satisfied: ptyprocess>=0.5 in /usr/lib/python3/dist-packages (from pexpect) (0.7.0)
Using cached pexpect-4.9.0-py2.py3-none-any.whl (63 kB)
Installing collected packages: pexpect
  Attempting uninstall: pexpect
    Found existing installation: pexpect 4.8.0
ERROR: Cannot uninstall 'pexpect'. 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.
Requirement already satisfied: pycairo in /usr/lib/python3/dist-packages (1.20.1)
Collecting pycairo
  Using cached pycairo-1.25.1-cp310-cp310-linux_x86_64.whl
Installing collected packages: pycairo
  Attempting uninstall: pycairo
    Found existing installation: pycairo 1.20.1
ERROR: Cannot uninstall 'pycairo'. 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.
Requirement already satisfied: pyparted in /usr/lib/python3/dist-packages (3.11.7)
Collecting pyparted
  Using cached pyparted-3.12.0-cp310-cp310-linux_x86_64.whl
Installing collected packages: pyparted
  Attempting uninstall: pyparted
    Found existing installation: pyparted 3.11.7
ERROR: Cannot uninstall 'pyparted'. 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.
Requirement already satisfied: PyQt5 in /usr/lib/python3/dist-packages (5.15.6)
Collecting PyQt5
  Using cached PyQt5-5.15.10-cp37-abi3-manylinux_2_17_x86_64.whl.metadata (2.1 kB)
Requirement already satisfied: PyQt5-sip<13,>=12.13 in /usr/local/lib/python3.10/dist-packages (from PyQt5) (12.13.0)
Requirement already satisfied: PyQt5-Qt5>=5.15.2 in /usr/local/lib/python3.10/dist-packages (from PyQt5) (5.15.2)
Using cached PyQt5-5.15.10-cp37-abi3-manylinux_2_17_x86_64.whl (8.2 MB)
Installing collected packages: PyQt5
  Attempting uninstall: PyQt5
    Found existing installation: PyQt5 5.15.6
ERROR: Cannot uninstall PyQt5 5.15.6, RECORD file not found. Hint: The package was installed by sip-build.
Requirement already satisfied: PyQtWebEngine in /usr/lib/python3/dist-packages (5.15.5)
Collecting PyQtWebEngine
  Using cached PyQtWebEngine-5.15.6-cp37-abi3-manylinux1_x86_64.whl (230 kB)
Requirement already satisfied: PyQt5-sip<13,>=12.11 in /usr/local/lib/python3.10/dist-packages (from PyQtWebEngine) (12.13.0)
Requirement already satisfied: PyQtWebEngine-Qt5>=5.15.0 in /usr/local/lib/python3.10/dist-packages (from PyQtWebEngine) (5.15.2)
Requirement already satisfied: PyQt5>=5.15.4 in /usr/lib/python3/dist-packages (from PyQtWebEngine) (5.15.6)
Installing collected packages: PyQtWebEngine
  Attempting uninstall: PyQtWebEngine
    Found existing installation: PyQtWebEngine 5.15.5
ERROR: Cannot uninstall PyQtWebEngine 5.15.5, RECORD file not found. Hint: The package was installed by sip-build.
Requirement already satisfied: sympy in /usr/lib/python3/dist-packages (1.9)
Collecting sympy
  Using cached sympy-1.12-py3-none-any.whl (5.7 MB)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy) (1.3.0)
Installing collected packages: sympy
  Attempting uninstall: sympy
    Found existing installation: sympy 1.9
ERROR: Cannot uninstall 'sympy'. 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.
Requirement already satisfied: systemd-python in /usr/lib/python3/dist-packages (234)
Collecting systemd-python
  Using cached systemd_python-235-cp310-cp310-linux_x86_64.whl
Installing collected packages: systemd-python
  Attempting uninstall: systemd-python
    Found existing installation: systemd-python 234
ERROR: Cannot uninstall 'systemd-python'. 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.
Requirement already satisfied: testpath in /usr/lib/python3/dist-packages (0.5.0)
Collecting testpath
  Using cached testpath-0.6.0-py3-none-any.whl (83 kB)
Installing collected packages: testpath
  Attempting uninstall: testpath
    Found existing installation: testpath 0.5.0
ERROR: Cannot uninstall 'testpath'. 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.
Requirement already satisfied: xdg in /usr/lib/python3/dist-packages (5)
Collecting xdg
  Using cached xdg-6.0.0-py3-none-any.whl (3.9 kB)
Installing collected packages: xdg
  Attempting uninstall: xdg
    Found existing installation: xdg 5
ERROR: Cannot uninstall 'xdg'. 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.

On a relative Linux Mint.

Expected behavior

No response

pip version

Not read.

Python version

Not read.

OS

Not read.

How to Reproduce

Not read.

Output

No response

Code of Conduct