You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pip is asked to uninstall a project without the dist-info/RECORD file
2
+
it will no longer traceback with FileNotFoundError,
3
+
but it will provide a better error message instead, such as::
4
+
5
+
ERROR: Cannot uninstall foobar 0.1, RECORD file not found. You might be able to recover from this via: 'pip install --force-reinstall --no-deps foobar==0.1'.
6
+
7
+
When dist-info/INSTALLER is present and contains some useful information, the info is included in the error message instead::
8
+
9
+
ERROR: Cannot uninstall foobar 0.1, RECORD file not found. Hint: The package was installed by rpm.
0 commit comments