Giter VIP home page Giter VIP logo

Comments (2)

dante-signal31 avatar dante-signal31 commented on August 24, 2024

Hello @swetoast, as you can read on geolocate installation wiki page:

Geolocate is programmed with Python 3.4, running it with any previous version may not work completely or anything at all.

Besides, in Geolocate PyPi page this application is officially categorized as a Python 3.x one.

It seems you're trying to run it using Python 2.7, that has many API incompatibilities with latest Python's versions (like 3.4 one). The first incompatibility is that Python 2.7's print statement has evolved in Python 3.4 to a function, so it is called in a radically different way. It's normal that program crashed in that point when executed on Python 2.7 instead that on Python 3.4.

Try to install, latest Python stable version (3.4). Don't worry about your current Python installation, Python 3.x and Python 2.7 can live in the same system. Afterwards install geolocate using pip3 command. Pip comes by default with Python since 3.4 version but its executable is called pip3 to avoid naming collisions with pip versions you could have installed with Python 2.7. Doing this, geolocate should run fine.

Please, tell me if this solves your problem.

from geolocate.

dante-signal31 avatar dante-signal31 commented on August 24, 2024

"No news good news".

I assume diagnostic was right and I'm going to close this issue.

Besides, I've updated Geolocate to check Python interpreter version it is being executed under. From now on, if it detects it is being run under Python 2.x it will warn user that she is using an unsupported Python version and will abort execution gracefully.

from geolocate.

Related Issues (1)

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.