PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

No Module Named Requests

Open sohamdodia opened this issue 10 years ago • 5 comments

Traceback (most recent call last): File "pokecli.py", line 38, in import requests ImportError: No module named requests

Getting this error while i try to run python pokecli.py from terminal.

sohamdodia avatar Jul 26 '16 10:07 sohamdodia

pip install requests

MeGaPk avatar Jul 26 '16 10:07 MeGaPk

or, in my case (after closing terminal window), source bin/activate, before python pokecli.py

ariefbayu avatar Jul 26 '16 10:07 ariefbayu

I have tried pip install and it says requests are already installed. But still I am getting this error.

sohamdodia avatar Jul 26 '16 10:07 sohamdodia

if you're like me you forgot that your pip is python2 and python -> python3. Try python2 pokecli.py Ignore if not on linux/mac

veynor avatar Jul 26 '16 14:07 veynor

Please upgrade to the latest dev branch by running this command:

git reset --hard
git pull -f

Then run this command: pip install --upgrade -r requirements.txt

If issue persists, open a new issue.

/closed

AdaptCharm avatar Jul 29 '16 18:07 AdaptCharm