Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 17:51 ~/home (main)$ pip3.9 uninstall flask
- Found existing installation: Flask 2.1.2
- Uninstalling Flask-2.1.2:
- Would remove:
- /usr/local/lib/python3.9/site-packages/Flask-2.1.2.dist-info/*
- /usr/local/lib/python3.9/site-packages/flask/*
- Proceed (Y/n)? Y
- ERROR: Exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.9/shutil.py", line 825, in move
- os.rename(src, real_dst)
- OSError: [Errno 18] Invalid cross-device link: '/usr/local/lib/python3.9/site-packages/Flask-2.1.2.dist-info/' -> '/tmp/pip-uninstall-ifvjbyeb'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
- status = run_func(*args)
- File "/usr/local/lib/python3.9/site-packages/pip/_internal/commands/uninstall.py", line 98, in run
- uninstall_pathset = req.uninstall(
- File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 658, in uninstall
- uninstalled_pathset.remove(auto_confirm, verbose)
- File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_uninstall.py", line 373, in remove
- moved.stash(path)
- File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_uninstall.py", line 271, in stash
- renames(path, new_path)
- File "/usr/local/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 311, in renames
- shutil.move(old, new)
- File "/usr/local/lib/python3.9/shutil.py", line 843, in move
- rmtree(src)
- File "/usr/local/lib/python3.9/shutil.py", line 734, in rmtree
- _rmtree_safe_fd(fd, path, onerror)
- File "/usr/local/lib/python3.9/shutil.py", line 690, in _rmtree_safe_fd
- onerror(os.unlink, fullname, sys.exc_info())
- File "/usr/local/lib/python3.9/shutil.py", line 688, in _rmtree_safe_fd
- os.unlink(entry.name, dir_fd=topfd)
- PermissionError: [Errno 13] Permission denied: 'LICENSE.rst'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement