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

showing error

Open adamtong1110 opened this issue 10 years ago • 13 comments

Cannot use it? any help?

C:\poke\PokemonGo-Bot-new>python pokecli.py Traceback (most recent call last): File "pokecli.py", line 38, in from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException ImportError: cannot import name ServerSideRequestThrottlingException

adamtong1110 avatar Aug 07 '16 03:08 adamtong1110

git clone --recursive https://github.com/PokemonGoF/PokemonGo-Bot

jeremie-olivier avatar Aug 07 '16 03:08 jeremie-olivier

Same issue here, suggested solution bij jolivier did not work..

FrenkDenk avatar Aug 07 '16 03:08 FrenkDenk

git clone --recursive -b master https://github.com/PokemonGoF/PokemonGo-Bot cd PokemonG-Bot virtualenv . source bin/activate pip install -r requirements.txt git checkout upgrade_to_the_new_api

and now ?

jeremie-olivier avatar Aug 07 '16 03:08 jeremie-olivier

This is what I get after the git clone command

MacBook:~ username$ git clone --recursive -b master https://github.com/PokemonGoF/PokemonGo-Bot fatal: destination path 'PokemonGo-Bot' already exists and is not an empty directory.

FrenkDenk avatar Aug 07 '16 04:08 FrenkDenk

i have same issue

i run pip install -r requirements.txt and i get error

Command "/root/PokemonGo-Bot/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-yGFilg/xxhash/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-OAh8MQ-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/PokemonGo-Bot/include/si

andriiaveiro avatar Aug 07 '16 04:08 andriiaveiro

i also run pip install -r requirements.txt and i get error

Command "c:\poke\pokemongo-bot\scripts\python.exe -u -c "import setuptools, tokenize;file='c:\users\chunwa~1\appdata\local\temp\pip-build-hm5rct\xxhash\setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record c:\users\chunwa~1\appdata\local\temp\pip-qav_2v-record\install-record.txt --single-version-externally-managed --compile --install-headers c:\poke\pokemongo-bot\include\site\python2.7\xxhash" failed with error code 1 in c:\users\chunwa~1\appdata\local\temp\pip-build-hm5rct\xxhash\

adamtong1110 avatar Aug 07 '16 04:08 adamtong1110

same here

thiagoretes avatar Aug 07 '16 04:08 thiagoretes

For everyone with the same error as this (on Ubuntu 16.04): Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-hjOBmp/xxhash/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-KtEnF1-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-hjOBmp/xxhash/

Install the python-dev package, it solves the issue.

mamayer19 avatar Aug 07 '16 08:08 mamayer19

I have the same error on win7: Traceback (most recent call last): File "C:\git\version-control\newapipkmgo\PokemonGo-Bot\pokecli.py", line 38, in from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException ImportError: cannot import name ServerSideRequestThrottlingException

Someone know how to solve this error? (I tried to remove the ServerSideRequestThrottlingException but then I got other import problems in other files...)

m-a-g-o avatar Aug 07 '16 12:08 m-a-g-o

./install.sh will fix it

bruvv avatar Aug 07 '16 12:08 bruvv

We are on windows but install.sh just do the commands reported in the Installation Wiki so it doesn't fix anything :(

m-a-g-o avatar Aug 07 '16 14:08 m-a-g-o

@m-a-g-o try this from the PokemonGo-Bot folder

git fetch --all
git reset --hard origin master

then do pip install -r requirements.txt

RedViper9 avatar Aug 11 '16 07:08 RedViper9

Use docker windows isn't supported and will never be.

bruvv avatar Aug 11 '16 08:08 bruvv