Open a Erle terminal and try typing:
If Python gets initialized, you are ready. Jump to the last paragraph of this page Compiling code. If not, follow the steps bellow:
For installing and running Python in Erle, the first thing you should do is downloading python for Linux from the ofiicial website (it is free): https://www.python.org/download/
Python 3.4.1 compressed source tarball (for Linux, Unix or Mac OS X) Python 3.4.1 xzipped source tarball (for Linux, Unix or Mac OS X, better compression)
This two files are avaliable for Linux, so choose one.
You can donwload it directly in Erle, using the command line:
After that you need to extract the files, doing for example:
tar -xzf Python-3.4.1.tgz
You should configure the path and type:
./configure make sudo make install sudo apt-get install python
For more information, or more detailed explanations, you can read this short tutorial.
After having Python installed, for compilling a code you have two possibilities:
And after that type the code.You can use
quit() to exit.