sudo : The term 'sudo' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ sudo apt update
+ ~~~~
+ CategoryInfo : ObjectNotFound: (sudo:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
That's a command for Debian-based Linux systems. You are on Windows. It's also not in the packaging tutorial - we don't ask you to update apt or run any sudo commands. Finally, it is not a Python command. :)
OS version
Windows 10
Python version
Python 3.1
Pip version
pip 23.0.1
Guide link
https://packaging.python.org/tutorials/packaging-projects
Problem description
sudo apt update
Error message