Unable to uninstall mike in mac #194
sunilkn020
started this conversation in
General
Replies: 1 comment
-
This looks like you installed mike globally and need to use admin privileges to uninstall it. I don't use a Mac, but you should try |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am unable to uninstall Mike on my Mac laptop. I'm getting the below error when I do run the "pip uninstall mike" command. At present, I'm on mike 1.1.2 version.
sunilkn@LP1-AP-51774896 ~ % pip uninstall mike
Found existing installation: mike 1.1.2
Uninstalling mike-1.1.2:
Would remove:
/Library/Frameworks/Python.framework/Versions/3.10/bin/mike
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mike-1.1.2.dist-info/*
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mike/*
Proceed (Y/n)? y
ERROR: Exception:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 813, in move
os.rename(src, real_dst)
PermissionError: [Errno 13] Permission denied: '/Library/Frameworks/Python.framework/Versions/3.10/bin/mike' -> '/private/var/folders/vt/rrf215l556n465g7m_vcp__00000gn/T/pip-uninstall-15g9yx7o/mike'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sunilkn/Library/Python/3.10/lib/python/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
File "/Users/sunilkn/Library/Python/3.10/lib/python/site-packages/pip/_internal/commands/uninstall.py", line 105, in run
uninstall_pathset = req.uninstall(
File "/Users/sunilkn/Library/Python/3.10/lib/python/site-packages/pip/_internal/req/req_install.py", line 725, in uninstall
uninstalled_pathset.remove(auto_confirm, verbose)
File "/Users/sunilkn/Library/Python/3.10/lib/python/site-packages/pip/_internal/req/req_uninstall.py", line 381, in remove
moved.stash(path)
File "/Users/sunilkn/Library/Python/3.10/lib/python/site-packages/pip/_internal/req/req_uninstall.py", line 272, in stash
renames(path, new_path)
File "/Users/sunilkn/Library/Python/3.10/lib/python/site-packages/pip/_internal/utils/misc.py", line 362, in renames
shutil.move(old, new)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 834, in move
os.unlink(src)
PermissionError: [Errno 13] Permission denied: '/Library/Frameworks/Python.framework/Versions/3.10/bin/mike'
sunilkn@LP1-AP-51774896 ~ %
Beta Was this translation helpful? Give feedback.
All reactions