Resolved FileNotFoundError: [WinError 2] The system cannot find the file specified.
Article Directory
Error report
I have encountered this pit in my work before, and record the problem and solution. It may not be applicable to all situations, but it can be used for your reference.
The problem description is as follows:
FileNotFoundError: [WinError 2] The system cannot find the file specified.
The file does not exist, or the command cannot be used!
Solution
1. First check whether the path is correct
2. Then check whether the file exists
3. If the problem has not been solved, it is likely that the command cannot be used in the dos environment!
PS
If you have any questions, just leave a message in the comment area