I am trying to install the python-brisa framework on Linux. When I try to use the sudo command, it gives me the error "command not found".
I am running the following commands:
$ cd file
$ sudo python setup.py install
What am I doing wrong?
You cannot use sudo on Cygwin. Cygwin is restricted to the rights of the security context in which it is executed.
You likely don't need superuser rights to install the package. Simply run the command without sudo and it will probably work.
If you truly need administrator rights, you will need to right-click on the Cygwin icon and choose Run as administrator to run Cygwin with administrative privileges.
Patches is right of course, there is no "sudo". But you can make one as shown by answers to many other similar questions. For example this answer. Personally I use an alias:
alias sudo="cygstart --action=runas"
Works as a charm for external programs (not shell built-ins, though):
sudo chown User:Group <file>