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

Missing pgoapi

Open fvorez opened this issue 10 years ago • 9 comments

Traceback (most recent call last): File "pokecli.py", line 42, in from pokemongo_bot import PokemonGoBot File "C:\Users\Orez\Desktop\PokemonGo-Bot-dev\pokemongo_bot__init__.py", line 10, in from pgoapi import PGoApi ImportError: No module named pgoapi

fvorez avatar Jul 22 '16 17:07 fvorez

To install the pgoapi use pip install -e git://github.com/tejado/pgoapi.git#egg=pgoapi

Also make sure you add git to the PATH if you use windows.

d-magiera avatar Jul 22 '16 17:07 d-magiera

pip install -r ./requirements.txt

Klohto avatar Jul 22 '16 17:07 Klohto

Figured i was missing a req, but now

Error [Error 2] The system cannot find the file specified while executing comm and git clone -q git://github.com/tejado/pgoapi.git C:\Users\Orez\Desktop\Pokemo nGo-Bot-dev\src\pgoapi Cannot find command 'git'

fvorez avatar Jul 22 '16 17:07 fvorez

Don't have git installed in your console

Klohto avatar Jul 22 '16 17:07 Klohto

Also make sure you add git to the PATH if you use windows. Are you using windows? http://stackoverflow.com/questions/11000869/command-line-git-on-windows

d-magiera avatar Jul 22 '16 17:07 d-magiera

Thanks m8s, sorry about my noobness

fvorez avatar Jul 22 '16 17:07 fvorez

Wrote the same question 20 min ago.. :D If it doesn't work try to open the cmd in your git directory "C:\Users\AppData\Local\GitHub\PortableGit_\cmd" - worked for me.

d-magiera avatar Jul 22 '16 17:07 d-magiera

for mac users, please use the code pip install -r ./requirements.txt --ignore-installed six

aTadTasty avatar Jul 22 '16 18:07 aTadTasty

Mac users should use virtualenv, it's the proper solution for clean local python environments.

douglascamata avatar Jul 22 '16 20:07 douglascamata