Skip to content
Guest Big Announcement

[UPDATED] (WITH NEW API) Pokemon Go Bot for Mac!

Featured Replies

  • Replies 887
  • Views 125.1k
  • Created
  • Last Reply

I am having trouble, any ideas?

 

Last login: Sat Jul 30 20:28:35 on console

Adams-MacBook-Pro:PokemonGo adamvanhorn$ source bin/activate

(PokemonGo-Bot) Adams-MacBook-Pro:PokemonGo adamvanhorn$ python pokecli.py

Traceback (most recent call last):

  File "pokecli.py", line 39, in <module>

    from pokemongo_bot import logger

  File "/Users/adamvanhorn/Desktop/PokemonGo/pokemongo_bot/__init__.py", line 10, in <module>

    import yaml

ImportError: No module named yaml

(PokemonGo-Bot) Adams-MacBook-Pro:PokemonGo adamvanhorn$ 

  • Author

I am having trouble, any ideas?

 

Last login: Sat Jul 30 20:28:35 on console

Adams-MacBook-Pro:PokemonGo adamvanhorn$ source bin/activate

(PokemonGo-Bot) Adams-MacBook-Pro:PokemonGo adamvanhorn$ python pokecli.py

Traceback (most recent call last):

  File "pokecli.py", line 39, in <module>

    from pokemongo_bot import logger

  File "/Users/adamvanhorn/Desktop/PokemonGo/pokemongo_bot/__init__.py", line 10, in <module>

    import yaml

ImportError: No module named yaml

(PokemonGo-Bot) Adams-MacBook-Pro:PokemonGo adamvanhorn$ 

There is a post about it in few pages before this one

@Amuyea why do i get this error?

 

JROs-MAC:PokemonGO JRO$ python pokecli.py

/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'pokecli.py': [Errno 2] No such file or directory

Drag the folder over terminal

Hii, its showing me this :(

 

 

Last login: Sun Jul 31 02:59:33 on ttys000

Anass-MacBook-Pro:PokemonGo-Bot Anasg1$ source bin/activate

(PokemonGo-Bot) Anass-MacBook-Pro:PokemonGo-Bot Anasg1$ python pokecli.py

Traceback (most recent call last):

  File "pokecli.py", line 220, in <module>

    main()

  File "pokecli.py", line 197, in main

    config = init_config()

  File "pokecli.py", line 64, in init_config

    load.update(json.load(data))

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 291, in load

    **kw)

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 339, in loads

    return _default_decoder.decode(s)

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 364, in decode

    obj, end = self.raw_decode(s, idx=_w(s, 0).end())

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode

    raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded

(PokemonGo-Bot) Anass-MacBook-Pro:PokemonGo-Bot Anasg1$ 

Display all 1479 possibilities? (y or n)

(PokemonGo-Bot) Anass-MacBook-Pro:PokemonGo-Bot Anasg1$ python pokecli.py

Traceback (most recent call last):

  File "pokecli.py", line 220, in <module>

    main()

  File "pokecli.py", line 197, in main

    config = init_config()

  File "pokecli.py", line 64, in init_config

    load.update(json.load(data))

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 291, in load

    **kw)

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 339, in loads

    return _default_decoder.decode(s)

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 364, in decode

    obj, end = self.raw_decode(s, idx=_w(s, 0).end())

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode

    raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded

(PokemonGo-Bot) Anass-MacBook-Pro:PokemonGo-Bot Anasg1$

There is a post about it in few pages before this one

I referred back to previous post and did the pip install requests and I am with another error

 

Last login: Sat Jul 30 21:07:59 on ttys000

Adams-MacBook-Pro:PokemonGo-Bot adamvanhorn$ 

Adams-MacBook-Pro:PokemonGo-Bot adamvanhorn$ source bin/activate

(PokemonGo-Bot) Adams-MacBook-Pro:PokemonGo-Bot adamvanhorn$ python pokecli.py

Traceback (most recent call last):

  File "pokecli.py", line 39, in <module>

    from pokemongo_bot import logger

  File "/Users/adamvanhorn/Desktop/PokemonGo-Bot/pokemongo_bot/__init__.py", line 13, in <module>

    from pgoapi import PGoApi

ImportError: No module named pgoapi

(PokemonGo-Bot) Adams-MacBook-Pro:PokemonGo-Bot adamvanhorn$ 

  • Author

Hii, its showing me this :(

 

 

Last login: Sun Jul 31 02:59:33 on ttys000

Anass-MacBook-Pro:PokemonGo-Bot Anasg1$ source bin/activate

(PokemonGo-Bot) Anass-MacBook-Pro:PokemonGo-Bot Anasg1$ python pokecli.py

Traceback (most recent call last):

  File "pokecli.py", line 220, in <module>

    main()

  File "pokecli.py", line 197, in main

    config = init_config()

  File "pokecli.py", line 64, in init_config

    load.update(json.load(data))

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 291, in load

    **kw)

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 339, in loads

    return _default_decoder.decode(s)

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 364, in decode

    obj, end = self.raw_decode(s, idx=_w(s, 0).end())

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode

    raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded

(PokemonGo-Bot) Anass-MacBook-Pro:PokemonGo-Bot Anasg1$ 

Display all 1479 possibilities? (y or n)

(PokemonGo-Bot) Anass-MacBook-Pro:PokemonGo-Bot Anasg1$ python pokecli.py

Traceback (most recent call last):

  File "pokecli.py", line 220, in <module>

    main()

  File "pokecli.py", line 197, in main

    config = init_config()

  File "pokecli.py", line 64, in init_config

    load.update(json.load(data))

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 291, in load

    **kw)

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 339, in loads

    return _default_decoder.decode(s)

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 364, in decode

    obj, end = self.raw_decode(s, idx=_w(s, 0).end())

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode

    raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded

(PokemonGo-Bot) Anass-MacBook-Pro:PokemonGo-Bot Anasg1$

Copy the json in json files and copy it into http://jsonlint.com/ Then fix the error it gives you in your json.

 

I referred back to previous post and did the pip install requests and I am with another error

 

Last login: Sat Jul 30 21:07:59 on ttys000

Adams-MacBook-Pro:PokemonGo-Bot adamvanhorn$ 

Adams-MacBook-Pro:PokemonGo-Bot adamvanhorn$ source bin/activate

(PokemonGo-Bot) Adams-MacBook-Pro:PokemonGo-Bot adamvanhorn$ python pokecli.py

Traceback (most recent call last):

  File "pokecli.py", line 39, in <module>

    from pokemongo_bot import logger

  File "/Users/adamvanhorn/Desktop/PokemonGo-Bot/pokemongo_bot/__init__.py", line 13, in <module>

    from pgoapi import PGoApi

ImportError: No module named pgoapi

(PokemonGo-Bot) Adams-MacBook-Pro:PokemonGo-Bot adamvanhorn$ 

There is solution in few pages before this

  • Author

getting this now 

 

 

[2016-07-31 10:11:27] [x] PokemonGO Bot v1.0

[2016-07-31 10:11:27] [x] Configuration initialized

[2016-07-31 10:11:28] 

[2016-07-31 10:11:28] [x] Address found: Times Square

[2016-07-31 10:11:28] [x] Position in-game set as: (40.759011, -73.9844722, 0.0)

[2016-07-31 10:11:28] 

Traceback (most recent call last):

  File "pokecli.py", line 220, in <module>

    main()

  File "pokecli.py", line 206, in main

    bot.start()

  File "/Users/alex/PokemonGo-Bot/pokemongo_bot/__init__.py", line 31, in start

    self._setup_api()

  File "/Users/alex/PokemonGo-Bot/pokemongo_bot/__init__.py", line 136, in _setup_api

    str(self.config.password)):

  File "/Users/alex/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 145, in login

    if not self._auth_provider.login(username, password):

  File "/Users/alex/PokemonGo-Bot/src/pgoapi/pgoapi/auth_google.py", line 47, in login

    login = perform_master_login(username, password, self.GOOGLE_LOGIN_ANDROID_ID)

  File "/Users/alex/PokemonGo-Bot/lib/python2.7/site-packages/gpsoauth/__init__.py", line 66, in perform_master_login

    return _perform_auth_request(data)

  File "/Users/alex/PokemonGo-Bot/lib/python2.7/site-packages/gpsoauth/__init__.py", line 22, in _perform_auth_request

    headers={'User-Agent': useragent})

  File "/Users/alex/PokemonGo-Bot/lib/python2.7/site-packages/requests/api.py", line 111, in post

    return request('post', url, data=data, json=json, **kwargs)

  File "/Users/alex/PokemonGo-Bot/lib/python2.7/site-packages/requests/api.py", line 57, in request

    return session.request(method=method, url=url, **kwargs)

  File "/Users/alex/PokemonGo-Bot/lib/python2.7/site-packages/requests/sessions.py", line 475, in request

    resp = self.send(prep, **send_kwargs)

  File "/Users/alex/PokemonGo-Bot/lib/python2.7/site-packages/requests/sessions.py", line 585, in send

    r = adapter.send(request, **kwargs)

  File "/Users/alex/PokemonGo-Bot/lib/python2.7/site-packages/requests/adapters.py", line 467, in send

    raise ConnectionError(e, request=request)

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='android.clients.google.com', port=443): Max retries exceeded with url: /auth (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x103c547d0>: Failed to establish a new connection: [Errno 61] Connection refused',))

Times Square? Why not New York, Times Square

Archived

This topic is now archived and is closed to further replies.

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.