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

Can not run it on windows #2726

Closed
skywalker878 opened this issue Aug 7, 2016 · 5 comments
Closed

Can not run it on windows #2726

skywalker878 opened this issue Aug 7, 2016 · 5 comments

Comments

@skywalker878
Copy link

Expected Behavior

Actual Behavior

Traceback (most recent call last):
File "pokecli.py", line 38, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
ImportError: No module named pgoapi.exceptions

Steps to Reproduce

python pokecli.py

Other Information

OS: Windows 7
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
Python Version: (run 'python -V' and paste it here)

@dimasnp
Copy link

dimasnp commented Aug 7, 2016

https://download.microsoft.com/download/7/9/6/796EF2E4-801B-4FC4-AB28-B59FBF6D907B/VCForPython27.msi

@skywalker878
Copy link
Author

Now I got another error :

python pokecli.py
2016-08-07 02:45:56,591 [ cli] [INFO] PokemonGO Bot v1.0
2016-08-07 02:45:56,591 [ cli] [INFO] No config argument specified, checking for /configs/config.json
2016-08-07 02:45:56,591 [ cli] [INFO] Configuration initialized
2016-08-07 02:45:56,591 [PokemonGoBot] [INFO] [set_start_location] Setting start location.
2016-08-07 02:45:56,591 [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding.
2016-08-07 02:45:56,591 [PokemonGoBot] [INFO] [location_found] Location found: 37.807665,-122.431196 (37.807665, -122.431196, 0.0)
2016-08-07 02:45:56,591 [PokemonGoBot] [INFO] [position_update] Now at (37.807665, -122.431196, 0)
2016-08-07 02:45:56,591 [PokemonGoBot] [INFO] [login_started] Login procedure started.
2016-08-07 02:45:58,650 [PokemonGoBot] [INFO] [login_successful] Login successful.
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO]
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO] --- Shagoma ---
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO] Level: 1 (Next Level: 150 XP) (Total: 850 XP)
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO] Pokemon Captured: 1 | Pokestops Visited: 3
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO] Pokemon Bag: 2/250
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO] Items: 60/350
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO] Stardust: 100 | Pokecoins: 0
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO] PokeBalls: 56 | GreatBalls: 0 | UltraBalls: 0
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO] RazzBerries: 0 | BlukBerries: 0 | NanabBerries: 0
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO] LuckyEgg: 0 | Incubator: 0 | TroyDisk: 0
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO] Potion: 0 | SuperPotion: 0 | HyperPotion: 0
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO] Incense: 2 | IncenseSpicy: 0 | IncenseCool: 0
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO] Revive: 0 | MaxRevive: 0
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO]
2016-08-07 02:45:59,789 [PokemonGoBot] [INFO]
Traceback (most recent call last):
File "pokecli.py", line 493, in
main()
File "pokecli.py", line 127, in main
report_summary(bot)
File "pokecli.py", line 136, in report_summary
metrics.capture_stats()
File "C:\pokemongo-bot\pokemongo_bot\metrics.py", line 76, in capture_stats
response_dict = request.call()
File "C:\pokemongo-bot\pokemongo_bot\api_wrapper.py", line 106, in call
result = self.call()
File "C:\pokemongo-bot\pokemongo_bot\api_wrapper.py", line 63, in call
return PGoApiRequest.call(self)
File "c:\pokemongo-bot\src\pgoapi\pgoapi\pgoapi.py", line 210, in call
request.activate_signature(lib_path)
File "c:\pokemongo-bot\src\pgoapi\pgoapi\rpc_api.py", line 85, in activate_signature
self.signature_lib = ctypes.cdll.LoadLibrary(lib_path)
File "C:\Python27\lib\ctypes__init
.py", line 443, in LoadLibrary
return self.dlltype(name)
File "C:\Python27\lib\ctypes__init
.py", line 365, in init
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] The specified module could not be found

@dezayner
Copy link

dezayner commented Aug 7, 2016

#2706

@k4n30
Copy link
Contributor

k4n30 commented Aug 7, 2016

#2768

@bruvv
Copy link
Contributor

bruvv commented Aug 7, 2016

#2780

@brantje brantje closed this as completed Aug 7, 2016
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

6 participants