Giter Site home page Giter Site logo

Comments (20)

danthe1st avatar danthe1st commented on September 22, 2024 14

@tes-balo I think this is already fixed in this repository but there was no release. You can try

pip uninstall thefuck
pip install https://github.com/nvbn/thefuck/archive/master.zip

See also #1415 (comment) and #1415 (comment)

from thefuck.

KerickHowlett avatar KerickHowlett commented on September 22, 2024 5

It's not working on the Python v3.12.2. :(

from thefuck.

yesseruser avatar yesseruser commented on September 22, 2024 3

It's not working on the Python v3.12.2. :(

I'm quite sure they won't return that deprecated and removed library if there's another one we can use.

Too bad the maintainer/s are not doing anything about it; there's an open pull request for this, too

from thefuck.

trantuan-20048607 avatar trantuan-20048607 commented on September 22, 2024 3

Same here on Ubuntu 24.04 LTS. Python 3.12 is the default version installed by APT. (thefuck is also installed by sudo apt install thefuck)

from thefuck.

TheRealMilesLee avatar TheRealMilesLee commented on September 22, 2024 3

@tes-balo I think this is already fixed in this repository but there was no release. You can try

pip uninstall thefuck
pip install https://github.com/nvbn/thefuck/archive/master.zip

See also #1415 (comment) and #1415 (comment)

Yes! This works for me!

from thefuck.

tes-balo avatar tes-balo commented on September 22, 2024 2

This issue is still present Ubuntu 24.04, Python 312

from thefuck.

artahadhahd avatar artahadhahd commented on September 22, 2024 1

The imp module has been removed in Python3.12 in favor of importlib.
Use a python version before 3.12, it might work.
Edit: should be fixed by this pull request #1415

from thefuck.

Denny966 avatar Denny966 commented on September 22, 2024

Got the same issue :(

from thefuck.

ljgonzalez1 avatar ljgonzalez1 commented on September 22, 2024

+1

Running python 3.10
Do I need to install a library or something?

from thefuck.

yesseruser avatar yesseruser commented on September 22, 2024

Same here, running Python 3.12

from thefuck.

Denny966 avatar Denny966 commented on September 22, 2024

The imp module has been removed in Python3.12 in favor of importlib. Use a python version before 3.12, it might work. Edit: should be fixed by this pull request #1415

Works in python 3.11.8!

from thefuck.

D-Sensei avatar D-Sensei commented on September 22, 2024

Hi Everyone,
Thanks for your responses. I believe that anyone following this issue's thread can debug the bug. Before I close this issue, I will post an edit summarizing the solution.

Happy coding!

from thefuck.

KerickHowlett avatar KerickHowlett commented on September 22, 2024

@tes-balo I think this is already fixed in this repository but there was no release. You can try

pip uninstall thefuck
pip install https://github.com/nvbn/thefuck/archive/master.zip

See also #1415 (comment) and #1415 (comment)

Yes! This works for me!

I just wanted to add that this worked for me, too! Thanks for finding us the solution, @tes-balo ! :)

from thefuck.

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.