-3

I get this error while installing chatterbot:

ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied:  
'/usr/local/lib/python2.7/dist-packages/attr'
Consider using the `--user` option or check the permissions.
Gino Mempin
  • 19,150
  • 23
  • 79
  • 104

1 Answers1

0

try installing with pip install --user <package-name>

GowriPranithBayyana
  • 1,595
  • 1
  • 10
  • 21
  • 1
    i used this command pip install --user chatterbot ,it install the chatterbot packege but when i try in python the it show again some error >>> from chatterbot import ChatBot Traceback (most recent call last): File "", line 1, in ImportError: cannot import name 'ChatBot' from 'chatterbot' (unknown location) – Sahabudin Ali Jun 26 '19 at 13:58