PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Run 2 bots

Open paulsavoye opened this issue 10 years ago • 5 comments

Expected Behavior

Run 2 bots

Actual Behavior

Error Adress already in use

Steps to Reproduce

Copy new folder and run 2 bots with screen

Other Information

OS: Raspbian Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here) Python Version: (run 'python -V' and paste it here)

paulsavoye avatar Aug 08 '16 16:08 paulsavoye

I had this issue on previous releases and used a virtual environment to run multiple bots. Not sure if this is the correct work around or not.

djadstar avatar Aug 08 '16 16:08 djadstar

Are you talking about the bot itself or the web module? If its the second you don't need to run 2 instances of the web module. read the wiki

fmdcarvalho avatar Aug 08 '16 16:08 fmdcarvalho

I've been doing what @cbogithub suggested since ever without any issues.

TCB13 avatar Aug 08 '16 17:08 TCB13

I've tried and get the following:

File "pokecli.py", line 38, in from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException ImportError: No module named pgoapi.exceptions

djadstar avatar Aug 08 '16 17:08 djadstar

Found my mistake, hadn't activated the virtual environment.

djadstar avatar Aug 08 '16 18:08 djadstar