ERROR: Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/shutil.py", line 816, in move
os.rename(src, real_dst)
OSError: [Errno 18] Cross-device link: '/usr/local/lib/python3.10/lib-dynload/gdbm-0.0.0-py3.10.egg-info' -> '/tmp/pip-uninstall-at10fl1_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/Korsany/.local/lib/python3.10/site-packages/pip/internal/cli/base_command.py", line 179, in exc_logging_wrapper
status = run_func(*args)
File "/home/Korsany/.local/lib/python3.10/site-packages/pip/internal/commands/uninstall.py", line 106, in run
uninstall_pathset = req.uninstall(
File "/home/Korsany/.local/lib/python3.10/site-packages/pip/internal/req/req_install.py", line 722, in uninstall
uninstalled_pathset.remove(auto_confirm, verbose)
File "/home/Korsany/.local/lib/python3.10/site-packages/pip/internal/req/req_uninstall.py", line 370, in remove
moved.stash(path)
File "/home/Korsany/.local/lib/python3.10/site-packages/pip/internal/req/req_uninstall.py", line 261, in stash
renames(path, new_path)
File "/home/Korsany/.local/lib/python3.10/site-packages/pip/internal/utils/misc.py", line 356, in renames
shutil.move(old, new)
File "/usr/local/lib/python3.10/shutil.py", line 834, in move
rmtree(src)
File "/usr/local/lib/python3.10/shutil.py", line 725, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/local/lib/python3.10/shutil.py", line 681, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/local/lib/python3.10/shutil.py", line 679, in _rmtree_safe_fd
os.unlink(entry.name, dir_fd=topfd)
PermissionError: [Errno 13] Permission denied: 'top_level.txt'