Forums

Installing site-package: OSError: [Errno 13] Permission denied

Hello!

I'm trying to pip install a library called pymorphy2 and I get this error:

OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pymorphy2_dicts'

Why is it happening? Or are there any chances to get this package included in Batteries?

Thanks!

https://help.pythonanywhere.com/pages/InstallingNewModules

ERR: logEntryFunc: depth : [Errno 13] Permission denied: '/2021-09-14.txt'

You're trying to write that file to the / directory where you do not have permissions. Write your file to somewhere in your home directory (/home/chetanbonde)