I am new to Linux and I have downloaded Crouton on my Chromebook so that I can start learning Python. The problem is, every tutorial site tells me to type the word python in the terminal to start programming in Python, but when I do this it reads command not found.

Where do I go from here? If it helps, I am running Ubuntu 16.04.2 alongside my Chrome OS.

Here is what the command line looks like:

(xenial)angel@localhost:~$ python
bash: python: command not found 
  • 1
    Uhm, Ubuntu doesn't work without Python, so this is pretty strange. Could you please edit your question to include the output of dpkg-query -l python-minimal python2.7-minimal and ls -l /usr/bin/python*? Thanks. – David Foerster May 12 '17 at 19:58
  • I'm sorry I don't really understand, should I type that line in to the terminal? – Padawan Angel May 12 '17 at 20:21
  • Yes, please open a terminal, type the command(s), copy and paste their output into the question. – David Foerster May 12 '17 at 20:22
  • The first line came as command not found, the second line has an output with dates such as 9 mar 23 2016 /usr:bin/python3 -> python3.5 – Padawan Angel May 12 '17 at 20:35
  • 3
    Please edit your question and paste the full outputs there. Also add the output of echo $PATH please. – Byte Commander May 12 '17 at 20:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.