Hi Guys,
I am trying to install tweepy module in my Linux system, but it is showing me the below error.
$ pip install tweepy
Traceback (most recent call last):
File "/Users/user_name/anaconda3/bin/pip", line 6,
in <module> from pip._internal.cli.main import main
File "/Users/user_name/anaconda3/lib/python3.6/site-
packages/pip/_internal/cli/main.py", line 10, in <module>
from pip._internal.cli.autocompletion import autocomplete
from pip._vendor import appdirs as _appdirs
ImportError: cannot import name 'appdirs'
How can I solve this error?