-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
ImportError: No module named pgoapi.exceptions #5107
Comments
Yesterday i had the same problem on Windows. I did a fresh install and it worked. |
pip install -r requirements.txt --upgrade |
already try a fresh install and the 'upgrade' version |
Then I don't know, I don't run Linux. I'll try it on Mac, I have a mac. |
ok thanks anyway |
Can you post "pip list" output |
cephis@Evangelion:~$ pip list |
Are you sure you run this command |
I'm sure:
Downloading/unpacking networkx==1.11 (from -r requirements.txt (line 2))
Installing extra requirements: 'egg' Downloading/unpacking protobuf-to-dict==0.1.0 (from -r requirements.txt (line 10))
Installed /tmp/pip_build_cephis/protobuf-to-dict/nosexcover-1.0.10-py2.7.egg Searching for coverage Reading https://pypi.python.org/simple/coverage/ Best match: coverage 4.2 Processing coverage-4.2.zip Writing /tmp/easy_install-rN8SXL/coverage-4.2/setup.cfg Running coverage-4.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-rN8SXL/coverage-4.2/egg-dist-tmp-WyLBdi warning: no previously-included files found matching 'ci/appveyor.token' no previously-included directories found matching 'doc/_build' no previously-included directories found matching 'tests/eggsrc/build' no previously-included directories found matching 'tests/eggsrc/dist' no previously-included directories found matching 'tests/eggsrc/*.egg-info' warning: no previously-included files matching '*.py[co]' found anywhere in distribution Installed /tmp/pip_build_cephis/protobuf-to-dict/coverage-4.2-py2.7-linux-x86_64.egg Searching for nose>=1.0 Reading https://pypi.python.org/simple/nose/ Best match: nose 1.3.7 Processing nose-1.3.7.tar.gz Writing /tmp/easy_install-wDXyat/nose-1.3.7/setup.cfg Running nose-1.3.7/setup.py -q bdist_egg --dist-dir /tmp/easy_install-wDXyat/nose-1.3.7/egg-dist-tmp-KZFBYp no previously-included directories found matching 'doc/.build' Installed /tmp/pip_build_cephis/protobuf-to-dict/nose-1.3.7-py2.7.egg Searching for protobuf>=2.3.0 Reading https://pypi.python.org/simple/protobuf/ Best match: protobuf 3.0.0 Processing protobuf-3.0.0-py2.7.egg creating /tmp/pip_build_cephis/protobuf-to-dict/protobuf-3.0.0-py2.7.egg Extracting protobuf-3.0.0-py2.7.egg to /tmp/pip_build_cephis/protobuf-to-dict Installed /tmp/pip_build_cephis/protobuf-to-dict/protobuf-3.0.0-py2.7.egg Traceback (most recent call last): File "", line 17, in File "/tmp/pip_build_cephis/protobuf-to-dict/setup.py", line 25, in
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 239, in init
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 264, in fetch_build_eggs
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 620, in resolve
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 852, in best_match
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 503, in find
pkg_resources.VersionConflict: (six 1.5.2 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.9')) Cleaning up... |
oh.. try run virtualenv .
source bin/activate
pip install -r requirements.txt
python pokecli.py --af path_to_auth.json --cf path-to-config.json |
@Cephis try command seq above this msg, seems we installing packages into system level, instead of virtualenv. And when execute ./run.sh there is no packages installed. |
Sohje I tried your solution , it gives me the same error |
@Cephis with manually setting virtual environment/activating and pip installation? |
i try: the installation succeeded this time and the bot worked correctly, thank you very much for your help |
nice ;)) |
can you just confirm to me that the command to upgrade the bot is 'git pull'? |
yes |
cephis@Evangelion:~/PokemonGo-Bot$ ./run.sh
Traceback (most recent call last):
File "pokecli.py", line 42, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException, NoPlayerPositionSetException
ImportError: No module named pgoapi.exceptions
vendredi 2 septembre 2016, 17:00:45 (UTC+0200) Pokebot Stopped.
Press any button or wait 20 seconds to continue.
Other Information
OS: xubuntu
Branch:
dev
Python Version:
Python 2.7.6
already try to reinstall 'pip install -r requirements.txt' many times
The text was updated successfully, but these errors were encountered: