Reputation: 11
When I am trying to install tweepy module for python on windows 7, I type in easy_install tweepy and it gives me the error of: ImportError: No module named pip.req
I already read the link below but I am a newbie and didnt understand it: No module named pip.req PLEASE HELP!!
Upvotes: 0
Views: 2081
Reputation: 15953
You can do a simply one line command as suggested by Tweepy installation
Or you can download the file yourself and put on your desktop (or wherever you like). From the windows command type:
You can access the command prompt window using the "Window key" + "R" then type "cmd".
Upvotes: 0
Reputation: 3027
You should look inside the file setup.py
in your folder with downloaded tweepy
.
There you could find the line:
from pip.req import parse_requirements
setup.py
tries to import parse_requirements
function from module req
from package pip
.
But inside tweepy
folder there are no pip
package with req.py
python module. Read about Python packages and modules here.
So you need to do the steps from the answer https://stackoverflow.com/a/25193001/821093 to fix it.
Upvotes: 1