pypa / packaging-problems

An issue tracker for the problems in packaging
151 stars 35 forks source link

Trouble with the packaging tutorial #663

Open Brafian opened 1 year ago

Brafian commented 1 year ago

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

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
henryiii commented 1 year ago

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. :)