Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named pgoapi.exceptions #3123

Closed
Benji26 opened this issue Aug 8, 2016 · 5 comments
Closed

ImportError: No module named pgoapi.exceptions #3123

Benji26 opened this issue Aug 8, 2016 · 5 comments

Comments

@Benji26
Copy link

Benji26 commented Aug 8, 2016

Expected Behavior

hi, i have this problem when starting on debian:

root@raspberrypi:/home/pi/PokemonGo-Bot# python pokecli.py Traceback (most recent call last): File "pokecli.py", line 38, in <module> from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException ImportError: No module named pgoapi.exceptions

i've ran pip install git+https://github.com/keyphact/pgoapi.git but nothing...

anyone have an idea ? Thank's

Other Information

OS: Debian

@hklcf
Copy link
Contributor

hklcf commented Aug 8, 2016

pip install -r requirements.txt -U

@dymsokei
Copy link

dymsokei commented Aug 8, 2016

pip install pgoapi

@bibibkamal
Copy link

i got this error too. bot works just fine an hour ago then this showed up

@tnlin
Copy link

tnlin commented Aug 9, 2016

I just solve this problem on Ubuntu
My solution is switching from python3/pip3 to python2/pip2
It works like a charm

@spencerby28
Copy link

In this particular case, pip install -r requirements.txt will install all listed package versions to the exact specified version. Most of them work just fine as pip should behave, as they are managed packages of the pypi. The exception here is the pgoapi package, listed on line 3. It is not a pypi package. It is a github repository. Pip handle it badly. In occasions you have to remove the whole repository cloned by pip (rm -rf pgoapi) and do pip install again, i.e. pip install -r requirements.txt

This is a great opportunity to learn python!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants