Can't start bot, says I need to get the latest update
Expected Behavior
c:\PokemonGo-Bot>python pokecli.py
Then the bot runs
Actual Behavior
Error message:
Run following command to get latest update: pip install -r requirements.txt --upgrade
Your FULL config.json (remove your username, password, gmapkey and any other private info)
{
"websocket_server": false,
"heartbeat_threshold": 10,
"enable_social": true,
"live_config_update": {
"enabled": false,
"tasks_only": false
},
"tasks": [
{
"type": "TelegramTask",
"config": {
"enabled": false,
"master": null,
"// old syntax, still supported: alert_catch": ["all"],
"// new syntax:": {},
"alert_catch": {
"all": {"operator": "and", "cp": 1300, "iv": 0.95},
"Snorlax": {"operator": "or", "cp": 900, "iv": 0.9}
}
}
},
{
"type": "DiscordTask",
"config": {
"enabled": false,
"master": null,
"// old syntax, still supported: alert_catch": ["all"],
"// new syntax:": {},
"alert_catch": {
"all": {"operator": "and", "cp": 1300, "iv": 0.95},
"Snorlax": {"operator": "or", "cp": 900, "iv": 0.9}
}
}
},
{
"//NOTE: This task MUST be placed on the top of task list": {},
"type": "RandomAlivePause",
"config": {
"enabled": true,
"min_duration": "00:00:10",
"max_duration": "00:10:00",
"min_interval": "00:05:00",
"max_interval": "01:30:00"
}
},
{
"type": "HandleSoftBan"
},
{
"type": "RandomPause",
"config": {
"enabled": true,
"min_duration": "00:00:10",
"max_duration": "00:10:00",
"min_interval": "00:10:00",
"max_interval": "02:00:00"
}
},
{
"type": "CompleteTutorial",
"config": {
"enabled": true,
"// set a name": "",
"nickname": "",
"// 0 = No Team, 1 = Blue, 2 = Red, 3 = Yellow": "",
"team": 0
}
},
{
"type": "CollectLevelUpReward",
"config": {
"collect_reward": true,
"level_limit": -1
}
},
{
"type": "IncubateEggs",
"config": {
"enabled": true,
"infinite_longer_eggs_first": false,
"breakable_longer_eggs_first": true,
"min_interval": 120,
"infinite": [2,5,10],
"breakable": [2,5,10]
}
},
{
"type": "UpdateLiveStats",
"config": {
"enabled": false,
"min_interval": 10,
"stats": ["username", "uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"],
"terminal_log": true,
"terminal_title": true
}
},
{
"type": "UpdateLiveInventory",
"config": {
"enabled": false,
"min_interval": 120,
"show_all_multiple_lines": false,
"items": ["pokemon_bag", "space_info", "pokeballs", "greatballs", "ultraballs", "razzberries", "luckyegg"]
}
},
{
"type": "ShowBestPokemon",
"config": {
"enabled": true,
"min_interval": 60,
"amount": 5,
"order_by": "cp",
"info_to_show": ["cp", "ivcp", "dps", "hp"]
}
},
{
"type": "TransferPokemon",
"config": {
"enabled": true,
"min_free_slot": 5,
"transfer_wait_min": 3,
"transfer_wait_max": 5
}
},
{
"type": "NicknamePokemon",
"config": {
"enabled": false,
"nickname_above_iv": 0.9,
"nickname_template": "{iv_pct}_{iv_ads}"
}
},
{
"type": "EvolvePokemon",
"config": {
"enabled": true,
"// evolve only pidgey and drowzee": "",
"// evolve_list": "pidgey, drowzee",
"// donot_evolve_list": "none",
"// evolve all but pidgey and drowzee": "",
"// evolve_list": "all",
"// donot_evolve_list": "pidgey, drowzee",
"evolve_list": "all",
"donot_evolve_list": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"min_evolve_speed": 25,
"max_evolve_speed": 30,
"use_lucky_egg": false
}
},
{
"type": "UseIncense",
"config": {
"use_incense": false,
"use_order": [
"ordinary",
"spicy",
"cool",
"floral"
]
}
},
{
"type": "RecycleItems",
"config": {
"enabled": true,
"min_empty_space": 15,
"max_balls_keep": 150,
"max_potions_keep": 50,
"max_berries_keep": 70,
"max_revives_keep": 70,
"item_filter": {
"Pokeball": { "keep" : 100 },
"Potion": { "keep" : 10 },
"Super Potion": { "keep" : 20 },
"Hyper Potion": { "keep" : 30 },
"Revive": { "keep" : 30 },
"Razz Berry": { "keep" : 100 }
},
"recycle_wait_min": 3,
"recycle_wait_max": 5,
"recycle_force": true,
"recycle_force_min": "00:01:00",
"recycle_force_max": "00:05:00"
}
},
{
"type": "CatchPokemon",
"config": {
"enabled": true,
"catch_visible_pokemon": true,
"catch_lured_pokemon": true,
"min_ultraball_to_keep": 5,
"berry_threshold": 0.35,
"vip_berry_threshold": 0.9,
"treat_unseen_as_vip": true,
"daily_catch_limit": 800,
"vanish_settings": {
"consecutive_vanish_limit": 10,
"rest_duration_min": "02:00:00",
"rest_duration_max": "04:00:00"
},
"catch_throw_parameters": {
"excellent_rate": 0.1,
"great_rate": 0.5,
"nice_rate": 0.3,
"normal_rate": 0.1,
"spin_success_rate" : 0.6,
"hit_rate": 0.75
},
"catch_simulation": {
"flee_count": 3,
"flee_duration": 2,
"catch_wait_min": 3,
"catch_wait_max": 6,
"berry_wait_min": 3,
"berry_wait_max": 5,
"changeball_wait_min": 3,
"changeball_wait_max": 5,
"newtodex_wait_min": 20,
"newtodex_wait_max": 30
}
}
},
{
"type": "SpinFort",
"config": {
"enabled": true,
"spin_wait_min": 3,
"spin_wait_max": 5
"daily_spin_limit": 1900
}
},
{ "type": "UpdateWebInventory",
"config": {
"enabled": true
}
},
{
"type": "MoveToMapPokemon",
"config": {
"enabled": true,
"address": "http://localhost:5000",
"//NOTE: Change the max_distance to adjust the max sniping range (km)": {},
"max_distance": 500,
"min_ball": 50,
"prioritize_vips": true,
"snipe": true,
"snipe_high_prio_only": true,
"snipe_high_prio_threshold": 400,
"update_map": true,
"mode": "priority",
"map_path": "raw_data",
"walker": "StepWalker",
"max_extra_dist_fort": 10,
"catch": {
"==========Legendaries==========": 0,
"Aerodactyl": 1000,
"Snorlax": 1000,
"Articuno": 1000,
"Zapdos": 1000,
"Moltres": 1000,
"Dratini": 1000,
"Dragonair": 1000,
"Dragonite": 1000,
"Mewtwo": 1000,
"Mew": 1000,
"==========Region Locked==========": 0,
"Farfetch'd": 1000,
"Kangaskhan": 1000,
"Mr. Mime": 1000,
"Tauros": 1000,
"==========Very Rare==========": 0,
"Lapras": 900,
"Electabuzz": 900,
"Magmar": 900,
"Ditto": 900,
"==========Starters==========": 0,
"Bulbasaur": 400,
"Ivysaur": 600,
"Venusaur": 1000,
"Charmander": 400,
"Charmeleon": 600,
"Charizard": 1000,
"Squirtle": 400,
"Wartortle": 600,
"Blastoise": 1000,
"Pikachu": 600,
"Raichu": 1000,
"==========Semi Rare==========": 0,
"Porygon": 200,
"Scyther": 200,
"Jynx": 200,
"==========Uncommon==========": 0,
"Omanyte": 150,
"Omastar": 500,
"Seel": 300,
"Dewgong": 500,
"Grimer": 200,
"Muk": 500,
"Shellder": 200,
"Cloyster": 500,
"Gastly": 200,
"Haunter": 500,
"Gengar": 1000,
"Onix": 600,
"Drowzee": 600,
"Hypno": 600,
"Vulpix": 200,
"Ninetales": 600,
"Paras": 100,
"Parasect": 500,
"Growlithe": 200,
"Arcanine": 700,
"Tentacool": 200,
"Tentacruel": 500,
"Mankey": 150,
"Primeape": 500,
"Clefairy": 150,
"Clefable": 500,
"Jigglypuff": 150,
"Wigglytuff": 500,
"Venonat": 100,
"Venomoth": 500,
"Diglett": 200,
"Dugtrio": 500,
"Meowth": 250,
"Persian": 500,
"Psyduck": 150,
"Golduck": 500,
"Geodude": 100,
"Graveler": 500,
"Golem": 800,
"Eevee": 200,
"Vaporeon": 800,
"Jolteon": 800,
"Flareon": 800,
"Kabuto": 150,
"Kabutops": 500,
"Magikarp": 150,
"Gyarados": 800,
"Pinsir": 150,
"Ponyta": 200,
"Rapidash": 500,
"Slowpoke": 200,
"Slowbro": 500,
"Magnemite": 250,
"Magneton": 500,
"Krabby": 100,
"Kingler": 500,
"Voltorb": 200,
"Electrode": 500,
"Exeggcute": 250,
"Exeggcutor": 500,
"Cubone": 300,
"Marowak": 800,
"Hitmonlee": 400,
"Hitmonchan": 400,
"Lickitung": 500,
"Koffing": 200,
"Weezing": 500,
"Rhyhorn": 200,
"Rhydon": 500,
"Chansey": 800,
"Tangela": 300,
"Horsea": 200,
"Seadra": 600,
"Goldeen": 150,
"Seaking": 500,
"Staryu": 200,
"Starmie": 800,
"==========T1 Evolvers==========": 0,
"Caterpie": 10,
"Metapod": 10,
"Butterfree": 500,
"Weedle": 10,
"Kakuna": 10,
"Beedrill": 500,
"Pidgey": 10,
"Pidgeotto": 10,
"Pidgeot": 300,
"==========T2 Evolvers==========": 0,
"Nidoran F": 10,
"Nidorina": 10,
"Nidoqueen": 10,
"Nidoran M": 10,
"Nidorino": 10,
"Nidoking": 10,
"Oddish": 100,
"Gloom": 200,
"Vileplume": 600,
"Poliwag": 200,
"Poliwhirl": 400,
"Poliwrath": 800,
"Abra": 300,
"Kadabra": 600,
"Alakazam": 800,
"Machop": 150,
"Machoke": 400,
"Machamp": 800,
"Bellsprout": 100,
"Weepinbell": 400,
"Victreebel": 800,
"==========Trash==========": 0,
"Rattata": 10,
"Raticate": 10,
"Spearow": 10,
"Fearow": 10,
"Ekans": 10,
"Arbok": 10,
"Sandshrew": 10,
"Sandslash": 10,
"Zubat": 10,
"Golbat": 10,
"Doduo": 10,
"Dodrio": 10
}
}
},
{
"type": "MoveToFort",
"config": {
"enabled": true,
"lure_attraction": true,
"lure_max_distance": 2000,
"walker": "StepWalker",
"log_interval": 5
}
},
{
"type": "FollowSpiral",
"config": {
"enabled": true,
"diameter": 4,
"step_size": 70
}
}
],
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50,
"cache_recent_forts": true
},
"pokemon_bag": {
"// if 'show_at_start' is true, it will log all the pokemons in the bag (not eggs) at bot start": {},
"show_at_start": true,
"// if 'show_count' is true, it will show the amount of each pokemon (minimum 1)": {},
"show_count": false,
"// if 'show_candies' is true, it will show the amount of candies for each pokemon": {},
"show_candies": false,
"// 'pokemon_info' parameter define which info to show for each pokemon": {},
"// the available options are": {},
"// ['cp', 'iv_ads', 'iv_pct', 'ivcp', 'ncp', 'level', 'hp', 'moveset', 'dps']": {},
"pokemon_info": ["cp", "iv_pct"]
},
"walk_max": 5.23,
"walk_min": 2.026,
"alt_min": 500,
"alt_max": 1000,
"sleep_schedule": {
"enabled": true,
"enable_reminder": false,
"reminder_interval": 600,
"entries": [
{
"enabled": true,
"time": "12:00",
"duration": "5:30",
"time_random_offset": "00:30",
"duration_random_offset": "00:30",
"wake_up_at_location": ""
},
{
"enabled": true,
"time": "17:45",
"duration": "3:00",
"time_random_offset": "01:00",
"duration_random_offset": "00:30",
"wake_up_at_location": ""
}
]
},
"gps_default_altitude": 8.0,
"replicate_gps_xy_noise": true,
"replicate_gps_z_noise": true,
"gps_xy_noise_range": 0.000125,
"gps_z_noise_range": 12.5,
"debug": false,
"test": false,
"walker_limit_output": false,
"health_record": true,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"logging": {
"color": true,
"show_datetime": true,
"show_process_name": true,
"show_log_level": true
"show_thread_name": false
},
"catch": {
"any": {"candy_threshold" : 400 ,"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
"// Example of always catching Rattata:": {},
"// Rattata": { "always_catch" : true }
},
"release": {
"any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
"any": {"keep_best_cp": 2},
"Rattata": {"always_release": true},
"Pidgy": {"always_release": true},
"Zubat": {"always_release": true},
"Drowzee": {"always_release": true},
"Weedle": {"always_release": true},
"Caterpie": {"always_release": true},
"Spearow": {"always_release": true},
"// Example of always releasing Rattata:": {},
"// Rattata": {"always_release": true},
"// Example of keeping 3 stronger (based on CP) Pidgey:": {},
"// Pidgey": {"keep_best_cp": 3},
"// Example of keeping 2 best (based on IV) Zubat:": {},
"// Zubat": {"keep_best_iv": 2},
"// Keep no more than 3 best IV pokemon for every pokemon type": {},
"// any": {"keep_best_iv": 3},
"// Discard all pokemon in bag except 100 pokemon with best CP": {},
"// all": {"keep_best_cp": 100},
"// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
"// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3},
"// Example of custom order of static criterion": {},
"// Zubat": {"keep_best_custom": "iv, cp, hp_max", "amount":2}
},
"vips" : {
"Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate": {},
"any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
"Lapras": {},
"Moltres": {},
"Zapdos": {},
"Articuno": {},
"// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
"Mewtwo": {},
"Dragonite": {},
"Snorlax": {},
"// Mew evolves to Mewtwo": {},
"Mew": {},
"Arcanine": {},
"Vaporeon": {},
"Gyarados": {},
"Exeggutor": {},
"Muk": {},
"Weezing": {},
"Flareon": {}
},
"websocket": {
"start_embedded_server": true,
"server_url": "127.0.0.1:4000"
}
}
Output when issue occurred
c:\PokemonGo-Bot>python pokecli.py
Run following command to get latest update: pip install -r requirements.txt --upgrade
Steps to Reproduce
Enter python pokecli.py at the command prompt and hit enter.
Also tried using the windows install and run batch files. Same results
Other Information
OS: Windows 7 x64
Branch: dev
Git Commit: f02ce439aa4e6f6c14c9a2aafb8fea848ac6a6ca
Python Version: Python 2.7.10
Any other relevant files/configs (eg: path files)
Output from running pip install -r requirements.txt --upgrade
c:\PokemonGo-Bot>pip install -r requirements.txt --upgrade
Requirement already up-to-date: numpy==1.11.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 1))
Requirement already up-to-date: networkx==1.11 in c:\python27\lib\site-packages(from -r requirements.txt (line 2))
Obtaining pgoapi from git+https://github.com/joelgreen/pgoapi.git/@fa49ada8570b0817c5a73b9315ba010fa7a47874#egg=pgoapi (from -r requirements.txt (line 3))
Skipping because already up-to-date.
Requirement already up-to-date: geopy==1.11.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 4))
Requirement already up-to-date: geographiclib==1.46.3 in c:\python27\lib\site-packages (from -r requirements.txt (line 5))
Requirement already up-to-date: protobuf==3.0.0b4 in c:\python27\lib\site-packages (from -r requirements.txt (line 6))
Requirement already up-to-date: requests==2.10.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 7))
Requirement already up-to-date: requests-mock==1.0.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 8))
Requirement already up-to-date: s2sphere==0.2.4 in c:\python27\lib\site-packages (from -r requirements.txt (line 9))
Requirement already up-to-date: gpsoauth==0.3.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 10))
Requirement already up-to-date: protobuf-to-dict==0.1.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 11))
Requirement already up-to-date: googlemaps==2.4.4 in c:\python27\lib\site-packages (from -r requirements.txt (line 12))
Requirement already up-to-date: colorama==0.3.7 in c:\python27\lib\site-packages (from -r requirements.txt (line 13))
Requirement already up-to-date: enum34==1.1.6 in c:\python27\lib\site-packages (from -r requirements.txt (line 14))
Requirement already up-to-date: pyyaml==3.11 in c:\python27\lib\site-packages (from -r requirements.txt (line 15))
Requirement already up-to-date: haversine==0.4.5 in c:\python27\lib\site-packages (from -r requirements.txt (line 16))
Requirement already up-to-date: polyline==1.3.1 in c:\python27\lib\site-packages (from -r requirements.txt (line 17))
Requirement already up-to-date: python-socketio==1.4.2 in c:\python27\lib\site-packages (from -r requirements.txt (line 18))
Requirement already up-to-date: flask==0.11.1 in c:\python27\lib\site-packages (from -r requirements.txt (line 19))
Requirement already up-to-date: socketIO_client==0.7.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 20))
Requirement already up-to-date: eventlet==0.19.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 21))
Requirement already up-to-date: gpxpy==1.1.1 in c:\python27\lib\site-packages (from -r requirements.txt (line 22))
Requirement already up-to-date: mock==2.0.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 23))
Requirement already up-to-date: timeout-decorator==0.3.2 in c:\python27\lib\site-packages (from -r requirements.txt (line 24))
Requirement already up-to-date: raven==5.23.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 25))
Requirement already up-to-date: demjson==2.2.4 in c:\python27\lib\site-packages(from -r requirements.txt (line 26))
Requirement already up-to-date: greenlet==0.4.9 in c:\python27\lib\site-packages (from -r requirements.txt (line 27))
Requirement already up-to-date: yoyo-migrations==5.0.3 in c:\python27\lib\site-packages (from -r requirements.txt (line 28))
Requirement already up-to-date: paho-mqtt==1.2 in c:\python27\lib\site-packages(from -r requirements.txt (line 29))
Requirement already up-to-date: Geohash==1.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 30))
Requirement already up-to-date: python-telegram-bot==5.0.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 31))
Requirement already up-to-date: discord_simple==0.0.1.15 in c:\python27\lib\site-packages (from -r requirements.txt (line 32))
Requirement already up-to-date: decorator>=3.4.0 in c:\python27\lib\site-packages (from networkx==1.11->-r requirements.txt (line 2))
Requirement already up-to-date: future in c:\python27\lib\site-packages (from pgoapi->-r requirements.txt (line 3))
Requirement already up-to-date: six in c:\python27\lib\site-packages (from pgoapi->-r requirements.txt (line 3))
Requirement already up-to-date: xxhash in c:\python27\lib\site-packages (from pgoapi->-r requirements.txt (line 3))
Requirement already up-to-date: setuptools in c:\python27\lib\site-packages (from protobuf==3.0.0b4->-r requirements.txt (line 6))
Requirement already up-to-date: pycryptodomex>=3.0 in c:\python27\lib\site-packages (from gpsoauth==0.3.0->-r requirements.txt (line 10))
Requirement already up-to-date: python-engineio>=0.8.0 in c:\python27\lib\site-packages (from python-socketio==1.4.2->-r requirements.txt (line 18))
Requirement already up-to-date: click>=2.0 in c:\python27\lib\site-packages (from flask==0.11.1->-r requirements.txt (line 19))
Requirement already up-to-date: Jinja2>=2.4 in c:\python27\lib\site-packages (from flask==0.11.1->-r requirements.txt (line 19))
Requirement already up-to-date: Werkzeug>=0.7 in c:\python27\lib\site-packages (from flask==0.11.1->-r requirements.txt (line 19))
Requirement already up-to-date: itsdangerous>=0.21 in c:\python27\lib\site-packages (from flask==0.11.1->-r requirements.txt (line 19))
Requirement already up-to-date: websocket-client in c:\python27\lib\site-packages (from socketIO_client==0.7.0->-r requirements.txt (line 20))
Requirement already up-to-date: funcsigs>=1; python_version < "3.3" in c:\python27\lib\site-packages (from mock==2.0.0->-r requirements.txt (line 23))
Requirement already up-to-date: pbr>=0.11 in c:\python27\lib\site-packages (from mock==2.0.0->-r requirements.txt (line 23))
Requirement already up-to-date: contextlib2 in c:\python27\lib\site-packages (from raven==5.23.0->-r requirements.txt (line 25))
Requirement already up-to-date: python-slugify in c:\python27\lib\site-packages(from yoyo-migrations==5.0.3->-r requirements.txt (line 28))
Requirement already up-to-date: iniherit in c:\python27\lib\site-packages (fromyoyo-migrations==5.0.3->-r requirements.txt (line 28))
Requirement already up-to-date: docutils>=0.3 in c:\python27\lib\site-packages (from Geohash==1.0->-r requirements.txt (line 30))
Requirement already up-to-date: urllib3>=1.10 in c:\python27\lib\site-packages (from python-telegram-bot==5.0.0->-r requirements.txt (line 31))
Requirement already up-to-date: certifi in c:\python27\lib\site-packages (from python-telegram-bot==5.0.0->-r requirements.txt (line 31))
Requirement already up-to-date: MarkupSafe in c:\python27\lib\site-packages (from Jinja2>=2.4->flask==0.11.1->-r requirements.txt (line 19))
Requirement already up-to-date: Unidecode>=0.04.16 in c:\python27\lib\site-packages (from python-slugify->yoyo-migrations==5.0.3->-r requirements.txt (line 28))
Installing collected packages: pgoapi
Running setup.py develop for pgoapi
Successfully installed pgoapi-1.1.6
Thank you!
pgoapi should be 1.1.8
Thanks rawgni,
But why isn't it updating with git pull and pip install -r requirements.txt --upgrade?
Is there some additional step that is required to install pgoapi 1.1.8?
@IAmThePat maybe try ./setup.sh -u
try
./setup.sh -u
still only installed 1.1.6
Uninstall Git , python and visual c++ for python, after that remove in c-root the map python27. Copy the PokemonGo-Bot-Install.bat to a different map than the PokemonGo-Bot map, remove the PokemonGo-Bot map. Also before removing Bot map copy the needed auth.json, config.json, userdata.js and encrypt files to the place where you put your bat file. Then start PokemonGo-Bot-Install.bat from the place where you copied him and do a fresh install. First the software then after that the bot. Check the PokemonGo-Bot-Install.log if it installed the pgoapi-1.1.8
ok, I uninstalled all the programs you listed, moved my pokemongo-bot directory, then ran the install.bat file to reinstall everything.
I still only ended up with pogoapi 1.1.6
try: pip uninstall pgoapi (answer yes...) remove the src/pgoapi from your git checkout
then rerun pip install -r requirements.txt
That did it, thank you thew4y!