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

Import error after update

Open rlllam opened this issue 10 years ago • 5 comments

Gave me this error:

$ python pokecli.py Traceback (most recent call last): File "pokecli.py", line 38, in from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException File "c:\users\jeff\desktop\pgb\pokemongo-bot\src\pgoapi\pgoapi__init__.py", line 50, in from pgoapi.pgoapi import PGoApi File "c:\users\jeff\desktop\pgb\pokemongo-bot\src\pgoapi\pgoapi\pgoapi.py", line 34, in from pgoapi.rpc_api import RpcApi File "c:\users\jeff\desktop\pgb\pokemongo-bot\src\pgoapi\pgoapi\rpc_api.py", line 47, in from pgoapi.utilities import to_camel_case, get_time, get_format_time_diff, Rand48, long_to_bytes, generateLocation1, generateLocation2, generateRequestHash, f2i File "c:\users\jeff\desktop\pgb\pokemongo-bot\src\pgoapi\pgoapi\utilities.py", line 30, in import xxhash ImportError: DLL load failed: %1 is not a valid Win32 application.

I'm running windows 10 64bit and python 64bit Also i've noticed the config.json file has a new line "libencrypt_location": which I dont know what to put in

rlllam avatar Aug 08 '16 05:08 rlllam

same error.

$ 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

OSX

zviper13579 avatar Aug 08 '16 05:08 zviper13579

(PokemonGo-Bot) ➜ PokemonGo-Bot git:(dev) ✗ python pokecli.py -cf ./configs/config.json Traceback (most recent call last): File "pokecli.py", line 38, in from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException File "/home/konrad/PokemonGo-Bot/src/pgoapi/pgoapi/init.py", line 50, in from pgoapi.pgoapi import PGoApi File "/home/konrad/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 34, in from pgoapi.rpc_api import RpcApi File "/home/konrad/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 47, in from pgoapi.utilities import to_camel_case, get_time, get_format_time_diff, Rand48, long_to_bytes, generateLocation1, generateLocation2, generateRequestHash, f2i File "/home/konrad/PokemonGo-Bot/src/pgoapi/pgoapi/utilities.py", line 30, in import xxhash ImportError: No module named xxhash

Linux

ksiamro avatar Aug 08 '16 07:08 ksiamro

up

ksiamro avatar Aug 08 '16 13:08 ksiamro

Same error for me

srobayo222 avatar Aug 08 '16 15:08 srobayo222

Last night the bot worked and broke this morning with this same error and I was able to fix it by doing: $git pull $ pip install -r requirements.txt $python pokecli.py

enjoy :)

HelloTroy avatar Aug 08 '16 17:08 HelloTroy