Code Monkey home page Code Monkey logo

Comments (4)

Theblackcat98 avatar Theblackcat98 commented on June 6, 2024

+1 On this error.
Getting the same exact error output on my windows install.

(Although it seems this issue is not System-Specific I'll fill out an issue template aswell.)


  • The output of thefuck --version (something like The Fuck 3.1 using Python 3.5.0 and Bash 4.4.12(1)-release):

File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Python312\Scripts\thefuck.exe_main
.py", line 4, in
File "C:\Python312\Lib\site-packages\thefuck\entrypoints\main.py", line 8, in
from .. import logs # noqa: E402
^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\site-packages\thefuck\logs.py", line 8, in
from .conf import settings
File "C:\Python312\Lib\site-packages\thefuck\conf.py", line 1, in
from imp import load_source
ModuleNotFoundError: No module named 'imp'

  • Your system (Debian 7, ArchLinux, Windows, etc.):

Windows 11, using Powershell

  • How to reproduce the bug:

pip install thefuck

fuck

  • The error msg:

Same as above

from thefuck.

Theblackcat98 avatar Theblackcat98 commented on June 6, 2024

Fixed this issue, caused my deprecated package "imp" in Python 12
Check 904693a

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.