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

ImportError: No module named pgoapi.exceptions

Open dahormez opened this issue 10 years ago • 3 comments

.. everytime an new issue

dahormez avatar Aug 08 '16 08:08 dahormez

Same here!

On pip install -r requirements.txt from the latest master I get Cloning https://github.com/keyphact/pgoapi.git (to 249d3be7fbbdabc7f9adea17cbc899d6549e47a2) to ./src/pgoapi Could not find a tag or branch '249d3be7fbbdabc7f9adea17cbc899d6549e47a2', assuming commit.

Tcheno avatar Aug 08 '16 09:08 Tcheno

please close this and use search this has been asked noumerous times. Also use the freaking template that is profided when creating an issue....

bruvv avatar Aug 08 '16 09:08 bruvv

In this particular case, pip install -r requirements.txt will install all listed package versions to the exact specified version. Most of them work just fine as pip should behave, as they are managed packages of the pypi. The exception here is the pgoapi package, listed on line 3. It is not a pypi package. It is a github repository. Pip handle it badly. In occasions you have to remove the whole repository cloned by pip (rm -rf pgoapi) and do pip install again, i.e. pip install -r requirements.txt

This is a great opportunity to learn python!

spencerby28 avatar Aug 09 '16 16:08 spencerby28