Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I figured out my problem guys. I had to downlowd eclipse, and it ran through that. sudo apt-get install eclipse Sorry about my lack of info. :)

share|improve this question
1  
Can you add more info as to what you have done - with which command did you download it, try to run it, etc.? –  Pieter Apr 30 at 4:40

3 Answers 3

up vote 1 down vote accepted

Python is installed to all of our computers because it is useful framework for a variety of things .

To use the python interface from terminal just type python .

to check you python version just type python --version

to run a python script you need to type in the form :

./python_script_name.py

but very importantly it has to be executable first

chmod +x python_script_name.py

I hope it helps !

share|improve this answer

just type :

sudo apt-get install python

It will show you whether you have newest version of python or you should upgrade

share|improve this answer

How do I install python through the terminal?

Python comes preinstalled on ubuntu in all recent releases. You can just type python in the terminal to access python 2 or python3 to access python3.

I downloaded python through the terminal, but when I went to run it, all I got was a whole bunch of script. Any suggestions? I am using lubuntu

It is unclear how you downloaded it. Normally you would simply run

sudo apt-get install python
sudo apt-get install python3

These really are the ways to install python in Ubuntu. Don't start downloading stuff yourself. It will mess up your system because Ubuntu also uses python a lot for the OS itself. There are some expert ways to install python, but they might be too advanced for you.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.