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?
migrated from stackoverflow.com Jan 31 '11 at 21:49
This question came from our site for professional and enthusiast programmers.
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.
Works as a charm for external programs (not shell built-ins, though):