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

后端 未结 3 1799
花落未央
花落未央 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 17:01

    In my case:

    sudo chmod o+r /usr/local/lib/python2.7/dist-packages/python_dateutil-2.2-py2.7.egg/EGG-INFO/top_level.txt
    

    In general:

    sudo chmod o+r [XXX]
    

    where XXX is the file it is pointing to.

提交回复
热议问题