Shell and Python3?

  1. 10 months ago

    Jens K

    5 Feb 2019 near Cologne, Germany

    Executing "python --version" and "python3 --version" in a MacOS terminal both show me correct results.
    In my program I run a shell to execute python scripts. The shell command "python --version" shows me the correct result as well, but the shell command "python3 --version" gives me the error "bash: python3: command not found".
    Does anyone know why?

    You need to add the location of your Python installation for the Xojo shell. Shell ain't bash.

  2. Emile S

    5 Feb 2019 Europe (France, Strasbourg)

    mac OS version ?

  3. Jens K

    5 Feb 2019 near Cologne, Germany

    MacOS version 10.14.3
    Python version 2.7.10
    Python3 version 3.7.1

  4. Beatrix W

    5 Feb 2019 Pre-Release Testers, Third Party Store Answer Europe (Germany)

    You need to add the location of your Python installation for the Xojo shell. Shell ain't bash.

  5. Jens K

    5 Feb 2019 near Cologne, Germany

    That worked. Thank you very much!

or Sign Up to reply!