Skip to content

Conversation

tolunaydundar
Copy link

Using "pip install thefuck" on Windows works, but the app itself does not.

Using "fuck" command on PowerShell/Terminal results with "ModuleNotFoundError: No module named 'imp'".

This alternative installation method fixes that error. See: #1434 (comment)

Thanks to @danthe1st

Using "pip install thefuck" on Windows works, but the app itself does not.

Using "fuck" command on PowerShell/Terminal results with "ModuleNotFoundError: No module named 'imp'".

This alternative installation method fixes that error.
See: nvbn#1434 (comment)

Thanks to @danthe1st
@danthe1st
Copy link

danthe1st commented Jan 16, 2025

I think this is not specific to Windows but happens on other OSes as well - it's more that it depends on the Python version.

Also I think the better way to fix this would be for the maintainer to make a new release and publishing that to the Python package registry.

It is, as default, forbidden by PowerShell to run remotely signed apps to be run. This results with The Fuck failing to run.

In order to run The Fuck on PowerShell, the default ExecutionPolicy needs to be changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants