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)

urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d7d76bfd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

what is wrong knocks out during bot operation

If you just catch that exception and retry the action that is causing it, you can make your code more resilient against network issues.