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

Try to install the pokemonGo-Bot on a Raspberry Pi #3235

Closed
Chrisvdberg opened this issue Aug 9, 2016 · 4 comments
Closed

Try to install the pokemonGo-Bot on a Raspberry Pi #3235

Chrisvdberg opened this issue Aug 9, 2016 · 4 comments

Comments

@Chrisvdberg
Copy link

Please check configuration at http://jsonlint.com/ before posting an issue.

When i run the pokecly.pi ->

(PokemonGo-Bot) pi@doriangray:~/PokemonGo-Bot $ python pokecli.py
Traceback (most recent call last):
File "pokecli.py", line 38, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
ImportError: No module named pgoapi.exceptions

I think something goes wrong with pip install -r requirements.txt

I got a lot of error s like:
Failed building wheel for numpy
Running setup.py clean for numpy
Complete output from command /home/pi/PokemonGo-Bot/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-B73AeV/numpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" clean --all:
Running from numpy source directory.

setup.py clean is not supported, use one of the following instead:

- `git clean -xdf` (cleans all files)
- `git clean -Xdf` (cleans all versioned files, doesn't touch
                    files that aren't checked into the git repo)

And I got that a lot of times..

@jamosaur
Copy link

jamosaur commented Aug 9, 2016

sudo apt-get install python-dev

run pip install -r requirements afterwards

@jrjhealey
Copy link

I've found that sometimes invoking pip with sudo (sudo -H pip install -r requirements.txt) resolves some issues for me.

@xSomeFoolx
Copy link

xSomeFoolx commented Aug 9, 2016

I was having trouble installing on my RPi3 with Raspbian Jessie Lite as well.

Make sure you have virtualenv, python-pip, and python-dev installed also.

sudo apt-get install virtualenv python-pip python-dev

When running the install.sh it did not go into virtualenv properly. I had to do it manually before running the install.

I ran "virtualenv ." then "source bin/activate" in the PokemonGo-Bot directory manually before running "sh install.sh".

This gave me a good install and took a bit to compile since the proc is not the fastest and it only uses one core at a time.

Every time I start the bot from a new terminal I have to do "virtualenv ." and "source bin/activate" then run the bot "sh run.sh"

@Chrisvdberg
Copy link
Author

jamosaur, that was the sollution!! THNX

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

4 participants