Code Monkey home page Code Monkey logo

Comments (7)

cglatot avatar cglatot commented on August 10, 2024

Did you follow the readme entirely? Many people say they have, but in the end they usually haven't.

This includes correct python version, having pip, installed requirements.txt, read the note about 2FA.

from pokemanager.

sangeet79 avatar sangeet79 commented on August 10, 2024

Yep, i'm fairly certain that I followed all the steps and I don't have 2FA.
I had to rework your command line from the *.bat file though, since linux does not understand "" sign, but i don't think this is the source of my problem.
unfortunatelly the output i provided above does not tell me anything.

from pokemanager.

cglatot avatar cglatot commented on August 10, 2024

What version of Python are you using? Did you try calling the line inside the .bat explicitly from bash, rather than calling the bat file?

from pokemanager.

sangeet79 avatar sangeet79 commented on August 10, 2024

i'm using this:
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2

i tried to call the the bat file from bash, i also tried to call the line from bash.

bat file result:
tokarevi@home-pc:~/PokeManager-master$ ./PokeManager.bat
Traceback (most recent call last):
File "./pogo/demo.py", line 10, in
import POGOProtos.Enums.PokemonMove_pb2 as PokemonMove_pb2
File "/home/tokarevi/PokeManager-master/pogo/POGOProtos/Enums/PokemonMove_pb2.py", line 10, in
from google.protobuf import symbol_database as _symbol_database
File "/usr/local/lib/python2.7/dist-packages/google/protobuf/symbol_database.py", line 180, in
_DEFAULT = SymbolDatabase(pool=descriptor_pool.Default())
AttributeError: 'module' object has no attribute 'Default'

line result:
tokarevi@home-pc:~/PokeManager-master$ python "./pogo/demo.py" -a google -u "[email protected]" -p "mypasswordhere" -l "55.754937, 37.633747"
Traceback (most recent call last):
File "./pogo/demo.py", line 10, in
import POGOProtos.Enums.PokemonMove_pb2 as PokemonMove_pb2
File "/home/tokarevi/PokeManager-master/pogo/POGOProtos/Enums/PokemonMove_pb2.py", line 10, in
from google.protobuf import symbol_database as _symbol_database
File "/usr/local/lib/python2.7/dist-packages/google/protobuf/symbol_database.py", line 180, in
_DEFAULT = SymbolDatabase(pool=descriptor_pool.Default())
AttributeError: 'module' object has no attribute 'Default'

as you can see the result are identical.

from pokemanager.

cglatot avatar cglatot commented on August 10, 2024

Try updating your Python install, then rerun the requirements.txt install.

After that run pip install --upgrade -r requirements.txt (in the directory where requirements.txt is)

from pokemanager.

sangeet79 avatar sangeet79 commented on August 10, 2024

ok, i'll try

from pokemanager.

sangeet79 avatar sangeet79 commented on August 10, 2024

Ok, so i solved the problem. You were directing me in the right direction. The default python version for my ubuntu 14.04 is 2.7.6. I downloaded the latest release, which is 2.7.12 installed it from the source. then i used virtual envoriment to set up requirements and ran the program afterwards.

from pokemanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.