PokemonGoF / PokemonGo-Bot

The Pokemon Go Bot, baking with community.
MIT License
3.86k stars 1.54k forks source link

Bot will not run after updating, ImportError: No module named RequestType_pb2 #4251

Closed Acadia1337 closed 8 years ago

Acadia1337 commented 8 years ago

Expected Behavior

Before I updated to the latest dev build the bot ran as normal but now i get the same error no matter what I try. Everything was working fine until I tried to update. git pull pip install -r requirements.txt --upgrade

I have already tried to start over by deleting everything and running git clone -b dev https://github.com/PokemonGoF/PokemonGo-Bot pip install -r requirements.txt

I also tried to update the pgo api as suggested Here git clone the latest master branch of the pgoapi and placed it inside the src directory of the bot then ran pip install -r requirements.txt

Actual Behavior

ImportError: No module named RequestType_pb2

Your FULL config.json

http://pastebin.com/eAPN97y6

Output when issue occurred

$ python pokecli.py Traceback (most recent call last): File "pokecli.py", line 42, in from pokemongo_bot import inventory File "C:\Bothax\PokemonGo-Bot\pokemongo_botinit.py", line 22, in from api_wrapper import ApiWrapper File "C:\Bothax\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 9, in from pgoapi.protos.POGOProtos.Networking.Requests.RequestType_pb2 import RequestType ImportError: No module named RequestType_pb2

Steps to Reproduce

git clone -b dev https://github.com/PokemonGoF/PokemonGo-Bot pip install -r requirements.txt edit config file place encrypt.dll where it needs to go python pokecli.py

Other Information

OS: windows 10 Branch: Dev Git Commit:

4107? Latest dev branch as of 15 minutes ago

Python Version: 2.7

hongxuchen commented 8 years ago

setup.sh -u works for me.

hlavicka commented 8 years ago

try pip uninstall pgoapi pip install -r requirements.txt

Acadia1337 commented 8 years ago

That worked, Thanks!