Getting “IOError: [Errno 13] Permission denied:..” when importing pandas.DataFrame

后端 未结 3 1801
花落未央
花落未央 2021-02-04 16:14

I am getting

IOError: [Errno 13] Permission denied: \'/usr/local/lib/python2.7/dist-packages/python_dateutil-2.2-py2.7.egg/EGG-INFO/top_level.txt\'
3条回答
  •  臣服心动
    2021-02-04 16:57

    I was just having similar issues on my machine. Pip wasn't letting my install anything because nothing could be written to my site-packages directory. Not in love with this but I ran sudo chown -R $USER /Library/Python/2.7/site-packages/ and now Pip has no problem writing to my site-packages directory.

提交回复
热议问题