Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

migrated from stackoverflow.com Jan 31 '11 at 21:49

This question came from our site for professional and enthusiast programmers.

just cd file then enter, and after that you can run the sudo command. –  Aif Jan 31 '11 at 19:30
which linux are you using, some distro's use su instead of sudo –  Jesus Ramos Jan 31 '11 at 19:32
I am using Cygwin –  Anonymous Jan 31 '11 at 19:33
Looking at the last question posted by the OP, it looks like the OP is on Windows? Have you installed linux? This question should be moved to another stack exchange site as this isn't programming but administration. EDIT: OP added comment before I finished mine =) –  Quaternion Jan 31 '11 at 19:35
yes...i installed linux -cygwin for windows so that I can run my code on windows also. –  Anonymous Jan 31 '11 at 19:36

1 Answer 1

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.