Python Basic Bugs Fixing
Last updated on:2 years ago
I have been accumulating some methods to debug programme written by python. Hope it also works for you. Please note that your file paths and file names are likely not the same as mine, you should change them according to the notice.
Could not install packages due to an OSError
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: 's:\\anaconda\\lib\\site-packages\\google_pasta-0.2.0.dist-info\\METADATA'
Check the permissions.
Debug
Remove the folder s:\anaconda\lib\site-packages\google_pasta-0.2.0.dist-info, and then,
pip install google_pasta
Ignoring invalid distribution -cipy
WARNING: Ignoring invalid distribution -cipy (s:\anaconda\lib\site-packages)
Debug
Remove folders in s:\anaconda\lib\site-packages with ~.
Reference
本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!