Tuesday, September 21, 2021

Error (Python, Windows) 'wget' is not recognized as an internal or external command

 .

‘wget’ is not recognized as an internal or external command – Windows Fix

If you get the following error on windows terminal (CMD / Command Prompt)


‘wget’ is not recognized as an internal or external command,

operable program or batch file.


Or in Git Bash sh: wget: command not found


What this simply means is, wget isn’t installed in your windows machine or it is, but hasn’t been added to Windows environmental path.


If you don’t have wget installed, download it from  here (32-bit) and here (64-bit).


Extract the files to a folder say C:\wget and then add the folder to Windows environmental path.


In some windows machines, the wget command will not be available until after a PC restart.

No comments: