Created
August 1, 2019 20:14
-
-
Save maphew/e919c953a5251e70d3e5cba57c75a61d to your computer and use it in GitHub Desktop.
Resources for Stack question https://stackoverflow.com/questions/57311988/where-is-pips-list-of-files-to-remove-for-a-package/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pip uninstall shortcutter | |
Uninstalling shortcutter-0.1.20: | |
Would remove: | |
c:\tools\miniconda3\envs\test\lib\site-packages\shortcutter-0.1.20.dist-info\* | |
c:\tools\miniconda3\envs\test\lib\site-packages\shortcutter\* | |
c:\tools\miniconda3\envs\test\scripts\shortcutter.exe | |
c:\users\me\appdata\roaming\microsoft\windows\start menu\programs\shortcutter.lnk | |
d:\test-link.lnk | |
Proceed (y/n)? y | |
ERROR: Exception: | |
Traceback (most recent call last): | |
File "c:\tools\miniconda3\envs\test\lib\shutil.py", line 544, in move | |
os.rename(src, real_dst) | |
OSError: [WinError 17] The system cannot move the file to a different disk drive: 'd:\\test-link.lnk' -> 'C:\\Users\\me\\AppData\\Local\\Temp\\pip-uninstall-bqaujcig\\test-link.lnk' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "c:\tools\miniconda3\envs\test\lib\site-packages\pip\_internal\cli\base_command.py", line 188, in main | |
status = self.run(options, args) | |
File "c:\tools\miniconda3\envs\test\lib\site-packages\pip\_internal\commands\uninstall.py", line 75, in run | |
auto_confirm=options.yes, verbose=self.verbosity > 0, | |
File "c:\tools\miniconda3\envs\test\lib\site-packages\pip\_internal\req\req_install.py", line 831, in uninstall | |
uninstalled_pathset.remove(auto_confirm, verbose) | |
File "c:\tools\miniconda3\envs\test\lib\site-packages\pip\_internal\req\req_uninstall.py", line 388, in remove | |
moved.stash(path) | |
File "c:\tools\miniconda3\envs\test\lib\site-packages\pip\_internal\req\req_uninstall.py", line 277, in stash | |
renames(path, new_path) | |
File "c:\tools\miniconda3\envs\test\lib\site-packages\pip\_internal\utils\misc.py", line 405, in renames | |
shutil.move(old, new) | |
File "c:\tools\miniconda3\envs\test\lib\shutil.py", line 548, in move | |
os.symlink(linkto, real_dst) | |
OSError: symbolic link privilege not held |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment