Error message ‘wget’ is not an internal or external command, nor is it a runnable program or batch file.
Analysis is used in Jupyter Notebook! Wget is a Linux operating system that does not come with Windows.
To solve this problem, go to the official website of wget, select 32-bit or 64-bit, download ZIP/EXE, and put the downloaded EXE file in C:\Windows\System32.
Because I’m using a Jupyter notebook. Windows CMD can be used, but can not be directly used in the jupyter cell! The first thing to say about wget is if CMD runs wget, the downloaded file is in the folder where you run it. For example, if I run it in user file, I will find it in user folder.
The TERMINAL of JUPyter can run WGET. Similarly, when I do not specify a folder, the files downloaded by running wget directly are also in the user folder, namely C:\Users\***.
But when I want to use in Jupyter cell! Wget, the problem is still there. This solution seems to be aimed at the original Linux system, but the jupyter environment lacks wGET problem. If run it will find nesting bug, such as apt-get not internal or external command… .
Main solutions
As I use Windows system, the solution I find is to put the wget. Exe we downloaded before into the folder to run, and then run! Wget will do.
This blog post then provides a way to save the downloaded files to a specified directory. For example, to save the url file to a directory, use the wget -p directory URL directive.
In this case, many similar problems can be analogized.