Python support?

I’m trying to run a python script, but typing python filename.py in the terminal results in “python: command not found.” I saw elsewhere on the forums that Endless includes python. Is this not true?

Running Endless 3.8.0

Python 3.7.3 is shipped with EOS 3.8. To run it, use:

python3

if you want to access it as python, put the following in your ~/.bashrc:

alias python=python3

Please also note that PIP (the Python Package manager) is also there in version 3 and accessible via pip3. Additionally, you need to pass the Argument --user when installing applications and libraries with it.

1 Like

Ah, okay. Unfortunately, my script requires Python 2.6, so I’ll have to run it on another OS, but it’s good to know it’s there.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.