Can't load Python modules installed via pip from site-packages directory

后端 未结 5 599
遥遥无期
遥遥无期 2020-11-27 13:19

I am trying to install and use the Evernote module (https://github.com/evernote/evernote-sdk-python) . I ran pip install evernote and it says that the installat

5条回答
  •  伪装坚强ぢ
    2020-11-27 13:32

    I faced similar problem,its related to /usr/local/lib/python2.7/site-packages had no read or write permission for group and other, and they were owned by root. This means that only the root user could access them.

    Try this:

    $ sudo chmod -R go+rX /usr/local/lib/python2.7/site-packages
    

提交回复
热议问题