Closed yweitkemper closed 7 years ago
run pip install -r requirements.txt
Managed to fix that problem, now I'm just getting
Traceback (most recent call last):
File "pokecli.py", line 39, in
Try deleting the pgoapi folder inside src/, then run pip install -r requirements.txt
again.
Still getting the same error
try source bin/activate
in the pogo-bot dir.
Already tried that
try source bin/activate and then pip install -r requirements.txt
Did that to, this is the whole log. I saw there is a error at the end of pip install maybe that could be it.
Last login: Tue Aug 16 13:17:59 on ttys000
Yannics-MacBook-Air:~ naturalhealingways$ cd PokemonGo-Bot
Yannics-MacBook-Air:PokemonGo-Bot naturalhealingways$ virtualenv .
New python executable in /Users/naturalhealingways/PokemonGo-Bot/bin/python
Installing setuptools, pip, wheel...done.
Yannics-MacBook-Air:PokemonGo-Bot naturalhealingways$ source bin/activate
(PokemonGo-Bot) Yannics-MacBook-Air:PokemonGo-Bot naturalhealingways$ pip install -r requirements.txt
Collecting numpy==1.11.0 (from -r requirements.txt (line 1))
Using cached numpy-1.11.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting networkx==1.11 (from -r requirements.txt (line 2))
Using cached networkx-1.11-py2.py3-none-any.whl
Obtaining pgoapi from git+https://github.com/keyphact/pgoapi.git@a2755eb42dfe49e359798d2f4defefc97fb8163d#egg=pgoapi (from -r requirements.txt (line 3))
Skipping because already up-to-date.
Collecting geopy==1.11.0 (from -r requirements.txt (line 4))
Using cached geopy-1.11.0-py2.py3-none-any.whl
Collecting protobuf==3.0.0b4 (from -r requirements.txt (line 5))
Using cached protobuf-3.0.0b4-py2.py3-none-any.whl
Collecting requests==2.10.0 (from -r requirements.txt (line 6))
Using cached requests-2.10.0-py2.py3-none-any.whl
Collecting s2sphere==0.2.4 (from -r requirements.txt (line 7))
Using cached s2sphere-0.2.4-py2.py3-none-any.whl
Collecting gpsoauth==0.3.0 (from -r requirements.txt (line 8))
Collecting protobuf-to-dict==0.1.0 (from -r requirements.txt (line 9))
Collecting googlemaps==2.4.4 (from -r requirements.txt (line 10))
Using cached googlemaps-2.4.4-py2-none-any.whl
Collecting colorama==0.3.7 (from -r requirements.txt (line 11))
Using cached colorama-0.3.7-py2.py3-none-any.whl
Collecting enum34==1.1.6 (from -r requirements.txt (line 12))
Using cached enum34-1.1.6-py2-none-any.whl
Collecting pyyaml==3.11 (from -r requirements.txt (line 13))
Using cached PyYAML-3.11.zip
Collecting haversine==0.4.5 (from -r requirements.txt (line 14))
Collecting polyline==1.3.1 (from -r requirements.txt (line 15))
Using cached polyline-1.3.1-py2.py3-none-any.whl
Collecting python-socketio==1.4.2 (from -r requirements.txt (line 16))
Collecting flask==0.11.1 (from -r requirements.txt (line 17))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting socketIO_client==0.7.0 (from -r requirements.txt (line 18))
Collecting eventlet==0.19.0 (from -r requirements.txt (line 19))
Using cached eventlet-0.19.0-py2.py3-none-any.whl
Collecting gpxpy==1.1.1 (from -r requirements.txt (line 20))
Collecting mock==2.0.0 (from -r requirements.txt (line 21))
Using cached mock-2.0.0-py2.py3-none-any.whl
Collecting timeout-decorator==0.3.2 (from -r requirements.txt (line 22))
Collecting raven==5.23.0 (from -r requirements.txt (line 23))
Using cached raven-5.23.0-py2.py3-none-any.whl
Collecting demjson==2.2.4 (from -r requirements.txt (line 24))
Collecting greenlet==0.4.9 (from -r requirements.txt (line 25))
Using cached greenlet-0.4.9.zip
Collecting decorator>=3.4.0 (from networkx==1.11->-r requirements.txt (line 2))
Using cached decorator-4.0.10-py2.py3-none-any.whl
Collecting six (from pgoapi->-r requirements.txt (line 3))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting xxhash (from pgoapi->-r requirements.txt (line 3))
Using cached xxhash-0.6.1.tar.gz
Complete output from command python setup.py egg_info:
Download error on https://pypi.python.org/simple/nose/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) -- Some packages may not be found!
Couldn't find index page for 'nose' (maybe misspelled?)
Download error on https://pypi.python.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) -- Some packages may not be found!
No local packages or working download links found for nose>=1.3.0
Traceback (most recent call last):
File "
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/12/tynmmybj55x7jjvj0wg99btr0000gn/T/pip-build-bs517W/xxhash/
(PokemonGo-Bot) Yannics-MacBook-Air:PokemonGo-Bot naturalhealingways$ ./run.sh
Traceback (most recent call last):
File "pokecli.py", line 39, in
try running the install with sudo.
Also please add the required information to your OP, such as commit, python version etc.
Download error on https://pypi.python.org/simple/nose/: [SSL: CERTIFICATE_VERIFY_FAILED] Thats strange. But I have no idea why it happens.
Are you on a special network? Like on your job?
Yea i am actually, on my work network.
It worked on here a few days ago, but maybe ill try it again when I'm home.
Yes, try that.
You have openssl and python-openssl packet ?
This clearly isn't a bot issue, but a network issue (ie corporate blocking)
Expected Behavior
Run the bot
Actual Behavior
Press any button or wait 20 seconds to continue. Traceback (most recent call last): File "pokecli.py", line 39, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
File "/Users/naturalhealingways/PokemonGo-Bot/src/pgoapi/pgoapi/init.py", line 50, in
from pgoapi.pgoapi import PGoApi
File "/Users/naturalhealingways/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 34, in
from pgoapi.rpc_api import RpcApi
File "/Users/naturalhealingways/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 47, in
from pgoapi.utilities import to_camel_case, get_time, get_format_time_diff, Rand48, long_to_bytes, generateLocation1, generateLocation2, generateRequestHash, f2i
File "/Users/naturalhealingways/PokemonGo-Bot/src/pgoapi/pgoapi/utilities.py", line 30, in
import xxhash
ImportError: No module named xxhash
Tue Aug 16 11:46:13 PDT 2016 Pokebot Stopped.
Your FULL config.json (remove your username, password, gmapkey and any other private info)
"encrypt_location": "", "websocket_server": false, "tasks": [ { "type": "HandleSoftBan" }, { "type": "SleepSchedule", "config": { "enabled": false, "time": "22:54", "duration":"7:46", "time_random_offset": "00:24", "duration_random_offset": "00:43" } }, { "type": "CollectLevelUpReward" }, { "type": "IncubateEggs", "config": { "longer_eggs_first": true } }, { "type": "TransferPokemon" }, { "type": "NicknamePokemon", "config": { "enabled": false, "nickname_template": "{ivpct}{iv_ads}" } }, { "type": "EvolvePokemon", "config": { "evolve_all": "Pidgey, Rattata, Weedle, Caterpie, Zubat, Golbat, Tentacool, Krabby, Spearow, Psyduck, Goldeen, Nidoran F, Nidoran M, Staryu, Paras",
}
Output when issue occurred
Steps to Reproduce
Other Information
OS: IOS
Branch: Dev Git Commit: abb8570f3e0ddb95ad8eab3b2e24b5aa9e995256 Python Version: 2.7.12