Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to set up Mercurial on a Raspberry Pi, but the instructions I am using are for Ubuntu. It suggests that the Python folder is usr/bin/python, but this does not exist on my Pi.

Where is Python installed on a Raspberry Pi?

share|improve this question
What OS is your Pi running? – Autumnal Jun 11 '13 at 22:21
Sorry a slightly important bit of missing info..... it is running raspbian – coolblue2000 Jun 11 '13 at 22:31
The command which python will tell you exactly where the executable is. Do you need the link to the modules and all those goodies too, or just the executable? – nerdwaller Jun 11 '13 at 23:42
Sources and importables are in e.g. /usr/lib/python2.7 – BobStein-VisiBone Nov 14 '14 at 3:24
up vote 1 down vote accepted

ok, so it is in Usr/bin/ after all... No idea why I could not see it before (my eyes were probably going to sleep as it was quite late....)

Just need to work out why the hgweb.cgi is displaying a blank page now. (I assumed it was because it was pointing at an incorrect directory, but this is now clearly not the case.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.