Jump to content

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


Amuyea

888 posts in this topic

Recommended Posts

  • Replies 887
  • Created
  • Last Reply
Posted

Hey guys, I'm getting this error message.

 

 

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 380, in raw_decode

    obj, end = self.scan_once(s, idx)

ValueError: Expecting property name: line 2 column 1 (char 2)

 

Any help would be appreciated, thank you!

Posted

Hey guys, I'm getting this error message.

 

 

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 380, in raw_decode

    obj, end = self.scan_once(s, idx)

ValueError: Expecting property name: line 2 column 1 (char 2)

 

Any help would be appreciated, thank you!

 

 

The problem is your input method. Either you can try:

 

source bin/activate  

sudo python pokecli.py 

 

(if you haven't yet)

but I would recommend you to upgrade your python2 to python 3 which should fix your problem.

Then you should try:

 

source bin/activate 

python pokecli.py 

 

 

(or)

 

source bin/activate

python3 pokecli.py

 

 

(or)

 

source bin/activate 

sudo python pokecli.py 

 

(or)

 

source bin/activate

sudo python3 pokecli.py

 

 

(not sure about that, don't use python that often)

Posted

 

Alternative way.

pip install -U pip

You didn't install the requirement.txt correct

Try

sudo

pip install -r requirements.txt

first part of the installation goes fine then it says 

 

Command "/usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;__file__='/Users/j129/Desktop/POKEMON copy/PokemonGo-Bot/src/pgoapi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps" failed with error code 1 in /Users/j129/Desktop/POKEMON copy/PokemonGo-Bot/src/pgoapi/

 

and it aborts

Archived

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

×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines