mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-31 10:11:14 +00:00
Add an alternative installation command for Windows
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: https://github.com/nvbn/thefuck/issues/1434#issuecomment-2108618450 Thanks to @danthe1st
This commit is contained in:
parent
c7e7e1d884
commit
9b97187e13
@ -142,12 +142,18 @@ On Arch based systems, install *The Fuck* with the following command:
|
||||
sudo pacman -S thefuck
|
||||
```
|
||||
|
||||
On other systems, install *The Fuck* by using `pip`:
|
||||
On other systems (including Windows), install *The Fuck* by using `pip`:
|
||||
|
||||
```bash
|
||||
pip install thefuck
|
||||
```
|
||||
|
||||
On Windows, if you encounter the error "ModuleNotFoundError: No module named 'imp'" when running *The Fuck*, please try the following:
|
||||
```bash
|
||||
pip uninstall thefuck
|
||||
pip install https://github.com/nvbn/thefuck/archive/master.zip
|
||||
```
|
||||
|
||||
[Alternatively, you may use an OS package manager (OS X, Ubuntu, Arch).](https://github.com/nvbn/thefuck/wiki/Installation)
|
||||
|
||||
<a href='#manual-installation' name='manual-installation'>#</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user