Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an alternative installation command for Windows #1493

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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