Where is Python installed on Raspberry Pi?
41,571
Ok, so it is in usr/bin/
after all.
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).
Related videos on Youtube
Author by
coolblue2000
Updated on September 18, 2022Comments
-
coolblue2000 almost 2 years
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?
-
Autumnal about 11 yearsWhat OS is your Pi running?
-
nerdwaller about 11 yearsThe 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? -
Bob Stein over 9 yearsSources and importables are in e.g.
/usr/lib/python2.7
-
-
0xC0000022L about 6 yearsThere are dozen possible reasons. For starters are you actually using it as a CGI or were you trying to tie it into your web server via some FastCGI wrapper or so? It just adds to the places where breakage can occur.