GithubHelp home page GithubHelp logo

Comments (13)

ObiWahn avatar ObiWahn commented on June 13, 2024 5

Same problem here on mac with brew.

from gitinspector.

7henry767 avatar 7henry767 commented on June 13, 2024 2

it seems only to work with python 2.x. Probably you are using 3.x

from gitinspector.

AugustH avatar AugustH commented on June 13, 2024 2

as a quick hack: in gitinspector/localization.py replace (on line 71 and line 106)
install(True)
with
install(None)

tested on Python 3.10, gives some warnings (unrelated to this problem) but output seems ok.

from gitinspector.

adam-waldenberg avatar adam-waldenberg commented on June 13, 2024

Gitinspector works fine with 3.x. Though, some versions and some API's are constantly changing and breaking backward compatibility - gettext is an example of that.

from gitinspector.

fourofspades avatar fourofspades commented on June 13, 2024

Same issue on Windows.

from gitinspector.

Brikwerk avatar Brikwerk commented on June 13, 2024

Quick note to those with this issue: I was able to get gitinspector to work on macOS with Python 3.7.13. It seems that the gettext API has changed from 3.7 to 3.9. I recommend running gitinspector again with Python 3.7 installed.

from gitinspector.

vizcay avatar vizcay commented on June 13, 2024

The problem is that Python 3.7 or older versions is not supported for Apple M1:

brew install [email protected]
...
Warning: [email protected] has been deprecated because it is deprecated upstream!
[email protected]: The x86_64 architecture is required for this software.
Error: [email protected]: An unsatisfied requirement failed this build.

Anybody knows how to solve this? Not a python dev unfortunately.

from gitinspector.

adam-waldenberg avatar adam-waldenberg commented on June 13, 2024

@vizcay Yes. For now, move to Python 3.7. We need to figure out a good (not too hacky) way to support different versions of gettext - as it keeps changing :)

from gitinspector.

vizcay avatar vizcay commented on June 13, 2024

@vizcay Yes. For now, move to Python 3.7. We need to figure out a good (not too hacky) way to support different versions of gettext - as it keeps changing :)

Looks like it can only be done with Rosetta: https://stackoverflow.com/questions/70315418/installing-python3-7-macbook-air-m1-problem. At least with homebrew.

Thanks but I will pass.

from gitinspector.

foxyseta avatar foxyseta commented on June 13, 2024

Same here. Any updates on this?

from gitinspector.

hlovdal avatar hlovdal commented on June 13, 2024

Same on Fedora 36.

(The True->None modification worked)

from gitinspector.

JTangming avatar JTangming commented on June 13, 2024

Same on Python 3.11.3 (The True->None modification worked)

from gitinspector.

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.