Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac - Can't launch bot from new terminal window #3286

Closed
Meph88 opened this issue Aug 9, 2016 · 2 comments
Closed

Mac - Can't launch bot from new terminal window #3286

Meph88 opened this issue Aug 9, 2016 · 2 comments

Comments

@Meph88
Copy link

Meph88 commented Aug 9, 2016

Not sure what's going on.

If I go through the installation instructions, edit my config.json file and get the encrypt.so file and place it in the root directory I can launch the bot with python pokecli.py as long as I'm in the root directory.

If I want to run the bot from a new tab or I close terminal and try to run it again I get the output:
Traceback (most recent call last):
File "pokecli.py", line 38, in <module>
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
ImportError: cannot import name ServerSideRequestThrottlingException

The only way I can figure to make it work again is to go through the installation again.
I'm sure I'm just missing something here but what?

Please help.

@Meph88
Copy link
Author

Meph88 commented Aug 9, 2016

SOLVED

Solved issue by running:
$ virtualenv .
$ source bin/activate

before running python pokecli.py

@Dauth
Copy link

Dauth commented Aug 9, 2016

well it helps if you followed the instructions from the start. so can you close this

@Meph88 Meph88 closed this as completed Aug 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants