-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
  • 25,369
  • 29
  • 96
  • 135

1 Answers1

0

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

Test12345
  • 1,625
  • 1
  • 12
  • 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