Closed mrkaqz closed 8 years ago
this need a pythin rather up to date, what version are you using? you can try to disable those lines also
It is Python 2.7.9
Did you pip install -r requirements.txt?
Yes, I did
Follow instruction below
git clone --recursive https://www.github.com/OpenPoGo/OpenPoGoBot cd OpenPoGoBot virtualenv env source env/bin/activate pip install -r requirements.txt
Try removing lines 40 to 42 in pokecli.py
did it work?
nope, it gave another error below
(env) pi@raspberrypi:~/OpenPoGoBot $ python pokecli.py config/config.yml
[2016-08-17 22:41:11] [Plugins] Loaded plugin "egg_incubator".
[2016-08-17 22:41:11] [Plugins] Loaded plugin "spin_pokestop".
[2016-08-17 22:41:11] [Plugins] Loaded plugin "recycle_items".
[2016-08-17 22:41:11] [Plugins] Loaded plugin "evolver".
[2016-08-17 22:41:11] [Plugins] Loaded plugin "catch_pokemon".
[2016-08-17 22:41:11] [Plugins] Loaded plugin "transfer_pokemon".
Traceback (most recent call last):
File "pokecli.py", line 88, in
did you rename all .example files in config directory to .yml files to configure the bot?
Closing due to no answers. Reopen it if needed.
I am trying to run bot from raspberry pi 3
after i got libencrypt.so on the bot root folder and run the command this is error below:
(env) pi@raspberrypi:~/OpenPoGoBot $ python pokecli.py config/config.yml Traceback (most recent call last): File "pokecli.py", line 42, in
ssl._create_default_https_context = ssl._create_unverified_context # type: ignore
AttributeError: 'module' object has no attribute '_create_unverified_context'
OS: raspbian