Advertisement
crypt404

Untitled

Feb 23rd, 2024
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.00 KB | None | 0 0
  1. ERROR: Environment '/home/cyb0rgbytes/.virtualenvs/myenv' does not contain an activate script.
  2. 17:51 ~/home (main)$ pip3.9 uninstall flask
  3. Found existing installation: Flask 2.1.2
  4. Uninstalling Flask-2.1.2:
  5. Would remove:
  6. /usr/local/lib/python3.9/site-packages/Flask-2.1.2.dist-info/*
  7. /usr/local/lib/python3.9/site-packages/flask/*
  8. Proceed (Y/n)? Y
  9. ERROR: Exception:
  10. Traceback (most recent call last):
  11. File "/usr/local/lib/python3.9/shutil.py", line 825, in move
  12. os.rename(src, real_dst)
  13. OSError: [Errno 18] Invalid cross-device link: '/usr/local/lib/python3.9/site-packages/Flask-2.1.2.dist-info/' -> '/tmp/pip-uninstall-ifvjbyeb'
  14.  
  15. During handling of the above exception, another exception occurred:
  16.  
  17. Traceback (most recent call last):
  18. File "/usr/local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
  19. status = run_func(*args)
  20. File "/usr/local/lib/python3.9/site-packages/pip/_internal/commands/uninstall.py", line 98, in run
  21. uninstall_pathset = req.uninstall(
  22. File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 658, in uninstall
  23. uninstalled_pathset.remove(auto_confirm, verbose)
  24. File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_uninstall.py", line 373, in remove
  25. moved.stash(path)
  26. File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_uninstall.py", line 271, in stash
  27. renames(path, new_path)
  28. File "/usr/local/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 311, in renames
  29. shutil.move(old, new)
  30. File "/usr/local/lib/python3.9/shutil.py", line 843, in move
  31. rmtree(src)
  32. File "/usr/local/lib/python3.9/shutil.py", line 734, in rmtree
  33. _rmtree_safe_fd(fd, path, onerror)
  34. File "/usr/local/lib/python3.9/shutil.py", line 690, in _rmtree_safe_fd
  35. onerror(os.unlink, fullname, sys.exc_info())
  36. File "/usr/local/lib/python3.9/shutil.py", line 688, in _rmtree_safe_fd
  37. os.unlink(entry.name, dir_fd=topfd)
  38. PermissionError: [Errno 13] Permission denied: 'LICENSE.rst'
  39. 17:53 ~/home (main)$ pip3.9 uninstall Flask
  40. Found existing installation: Flask 2.1.2
  41. Uninstalling Flask-2.1.2:
  42. Would remove:
  43. /usr/local/lib/python3.9/site-packages/Flask-2.1.2.dist-info/*
  44. /usr/local/lib/python3.9/site-packages/flask/*
  45. Proceed (Y/n)? Y
  46. ERROR: Exception:
  47. Traceback (most recent call last):
  48. File "/usr/local/lib/python3.9/shutil.py", line 825, in move
  49. os.rename(src, real_dst)
  50. OSError: [Errno 18] Invalid cross-device link: '/usr/local/lib/python3.9/site-packages/Flask-2.1.2.dist-info/' -> '/tmp/pip-uninstall-lexlr2yj'
  51.  
  52. During handling of the above exception, another exception occurred:
  53.  
  54. Traceback (most recent call last):
  55. File "/usr/local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
  56. status = run_func(*args)
  57. File "/usr/local/lib/python3.9/site-packages/pip/_internal/commands/uninstall.py", line 98, in run
  58. uninstall_pathset = req.uninstall(
  59. File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 658, in uninstall
  60. uninstalled_pathset.remove(auto_confirm, verbose)
  61. File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_uninstall.py", line 373, in remove
  62. moved.stash(path)
  63. File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_uninstall.py", line 271, in stash
  64. renames(path, new_path)
  65. File "/usr/local/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 311, in renames
  66. shutil.move(old, new)
  67. File "/usr/local/lib/python3.9/shutil.py", line 843, in move
  68. rmtree(src)
  69. File "/usr/local/lib/python3.9/shutil.py", line 734, in rmtree
  70. _rmtree_safe_fd(fd, path, onerror)
  71. File "/usr/local/lib/python3.9/shutil.py", line 690, in _rmtree_safe_fd
  72. onerror(os.unlink, fullname, sys.exc_info())
  73. File "/usr/local/lib/python3.9/shutil.py", line 688, in _rmtree_safe_fd
  74. os.unlink(entry.name, dir_fd=topfd)
  75. PermissionError: [Errno 13] Permission denied: 'LICENSE.rst'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement