Advertisement
crypt404

Untitled

Feb 23rd, 2024
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. 17:51 ~/home (main)$ pip3.9 uninstall flask
  2. Found existing installation: Flask 2.1.2
  3. Uninstalling Flask-2.1.2:
  4. Would remove:
  5. /usr/local/lib/python3.9/site-packages/Flask-2.1.2.dist-info/*
  6. /usr/local/lib/python3.9/site-packages/flask/*
  7. Proceed (Y/n)? Y
  8. ERROR: Exception:
  9. Traceback (most recent call last):
  10. File "/usr/local/lib/python3.9/shutil.py", line 825, in move
  11. os.rename(src, real_dst)
  12. OSError: [Errno 18] Invalid cross-device link: '/usr/local/lib/python3.9/site-packages/Flask-2.1.2.dist-info/' -> '/tmp/pip-uninstall-ifvjbyeb'
  13.  
  14. During handling of the above exception, another exception occurred:
  15.  
  16. Traceback (most recent call last):
  17. File "/usr/local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
  18. status = run_func(*args)
  19. File "/usr/local/lib/python3.9/site-packages/pip/_internal/commands/uninstall.py", line 98, in run
  20. uninstall_pathset = req.uninstall(
  21. File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 658, in uninstall
  22. uninstalled_pathset.remove(auto_confirm, verbose)
  23. File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_uninstall.py", line 373, in remove
  24. moved.stash(path)
  25. File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_uninstall.py", line 271, in stash
  26. renames(path, new_path)
  27. File "/usr/local/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 311, in renames
  28. shutil.move(old, new)
  29. File "/usr/local/lib/python3.9/shutil.py", line 843, in move
  30. rmtree(src)
  31. File "/usr/local/lib/python3.9/shutil.py", line 734, in rmtree
  32. _rmtree_safe_fd(fd, path, onerror)
  33. File "/usr/local/lib/python3.9/shutil.py", line 690, in _rmtree_safe_fd
  34. onerror(os.unlink, fullname, sys.exc_info())
  35. File "/usr/local/lib/python3.9/shutil.py", line 688, in _rmtree_safe_fd
  36. os.unlink(entry.name, dir_fd=topfd)
  37. PermissionError: [Errno 13] Permission denied: 'LICENSE.rst'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement