In my application directory (on Windows) I run:
sudo pdfkit --install-wkhtmltopdf
as explained here, but I got this error:
'sudo' is not recognized as an internal or external command, operable program or batch file.
What could be the problem ?
4. Fixing the “Command Not Found” Error. The “command not found” error can occur if we have set a custom $PATH to run our scripts. This is because sudo might execute commands with a fresh environment instead of inheriting modified environment variables.
C:\Users\C2c>sudo pip install pyaudio 'sudo' is not recognized as an internal or external command, operable program or batch file. If you get this error in Windows Command Prompt that because you are trying to run a Unix command on Windows System.
There is no sudo command in Windows. The nearest equivalent is "run as administrator." You can do this using the runas command with an administrator trust-level, or by right-clicking the program in the UI and choosing "run as administrator."
sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy.
Sudo is a Unix specific command designed to allow a user to carry out administrative tasks with the appropriate permissions.
Windows does not have (need?) this.
Run the command with the sudo removed from the start.
sudo
is a Unix/Linux command. It's not available in Windows.
sudo is used for Linux. It looks like you are running this in Windows.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With