Closed Cephis closed 8 years ago
run: sudo pip install -r requirements.txt
already done
pip uninstall pgoapi
& pip install -r requirements.txt
sudo pip uninstall pgoapi & pip install -r requirements.txt [1] 4520 Obtaining pgoapi from git+https://github.com/tejado/pgoapi.git@81e786cabf027a1c8fbd1e9a07e1c11aa3d8ee8b#egg=pgoapi (from -r requirements.txt (line 1)) Updating ./src/pgoapi clone (to 81e786cabf027a1c8fbd1e9a07e1c11aa3d8ee8b) Can't uninstall 'pgoapi'. No files were found to uninstall. error: impossible d'ouvrir .git/FETCH_HEAD : Permission non accordée
Complete output from command /usr/bin/git fetch -q:
Cleaning up... Command /usr/bin/git fetch -q failed with error code 255 in /home/cephis/PokemonGo-Bot/src/pgoapi Storing debug log for failure in /home/cephis/.pip/pip.log [1]+ Fini sudo pip uninstall pgoapi
did you try ./install.sh
yes, i do it, it worked
Installed pip requirements.
Installing and updating git submodules...
Done.
Please create and setup configs/config.json. Then, run 'python pokecli.py --config ./configs/config.json' or './run.sh' on Mac/Linux
cephis@Raven ~/PokemonGo-Bot $ python pokecli.py --config ./configs/config.json
Traceback (most recent call last):
File "pokecli.py", line 38, in
maybe you mix python3 with python2?
try
pip2 install -r requirements.txt
and change python in run.sh to python2
same thing with "sudo pip2 install -r requirements.txt"
Then I change in run.sh:
./run.sh
Traceback (most recent call last):
File "pokecli.py", line 38, in
make sure to install requirements.txt with pip2
edit run.sh file, change python
to python2
run ./run.sh
again
$ pip2 install -r requirements.txt change python to python2 in run.sh $ ./run.sh
./run.sh
Traceback (most recent call last):
File "pokecli.py", line 38, in
you need some libraries https://community.linuxmint.com/software/view/python-protobuf
python-protobuf is needed.... this package is in debian and ubuntu. but in linux mint it seems is provided by the community. This is why you should use a better distribution or at least with a better package manager. (sorry i dont want to start a discussion of which is a better distribution :smile: )
I hope you get running this bot :+1:
packages available in linux mint rosa are protobuf 2.5.0-9ubuntu1. Is there any way to install version 3 by a ppa or else?
I have a friend that have the same exception than you in his raspberry pi but he coudn't fix it.
I am running the app inside an ubuntu container and it is really weird because this is the version of the packages ->
root@e590f6264c87:/usr/src/app# dpkg -s python-protobuf
Package: python-protobuf
...........
Version: 2.6.1-1
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libprotobuf9, libstdc++6 (>= 4.1.1), python-pkg-resources, python (<< 2.8), python (>= 2.7~), python:any (>= 2.7.5-5~)
....... .
root@e590f6264c87:/usr/src/app# dpkg -s libprotobuf9
Package: libprotobuf9
..........
Version: 2.6.1-1
Depends: libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.9), zlib1g (>= 1:1.1.4)
Sorry for not beeing helpful. :(
don't worry, that's alright, thx for your help anyway. I'll wait for more help of the community or an update that could resolve my problem.
I resolved protobuf3 problem with this
https://pypi.python.org/pypi/protobuf/3.0.0b4
download the ".egg" file, and then install it with: easy_install protobuf-3.0.0b4-py2.7.egg (maybe you need sudo)
just simple enter: pip install protobuf --upgrade
@WojteKris you are right
Expected Behavior
start pokemonGo-bot
Actual Behavior
python pokecli.py Traceback (most recent call last): File "pokecli.py", line 38, in
from pgoapi.exceptions import NotLoggedInException
File "/home/cephis/PokemonGo-Bot/src/pgoapi/pgoapi/init.py", line 17, in
raise PleaseInstallProtobufVersion3()
pgoapi.exceptions.PleaseInstallProtobufVersion3
Steps to Reproduce
I install the last releases, made installs as described in the walkthrough and start with python pokecli.py in a prompt. I tried to install protobuf 3 especially but I don't know how to do it.
Other Information
OS: linux mint rosa Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)