LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unable to locate python (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-locate-python-4175487426/)

Linxay 12-09-2013 05:40 PM

unable to locate python
 
i need to install python
i wrote

sudo apt-get install python
i got
unable to locate package python

sycamorex 12-09-2013 05:52 PM

Which linux distro (and version) are you using?

Linxay 12-09-2013 05:57 PM

Quote:

Originally Posted by sycamorex (Post 5078137)
Which linux distro (and version) are you using?

ubuntu 12.04 LTS

sycamorex 12-09-2013 06:02 PM

What if you try to type:
Code:

sudo apt-get install python2.7
What happens if you just type 'python' on the command line?


If for some reason, it's not present, you can download the package from:
http://packages.ubuntu.com/precise/python/python

and install it using dpkg (provided you've got all the dependencies)

Linxay 12-09-2013 06:09 PM

Quote:

Originally Posted by sycamorex (Post 5078146)
What if you try to type:
Code:

sudo apt-get install python2.7

Done it worked Thanks
Quote:

Originally Posted by sycamorex (Post 5078146)
What happens if you just type 'python' on the command line?

i typed python not specific version and unable to locate python
Quote:

Originally Posted by sycamorex (Post 5078146)
If for some reason, it's not present, you can download the package from:
http://packages.ubuntu.com/precise/python/python

and install it using dpkg (provided you've got all the dependencies)

when i searched i found python-storm ..?
Is that version of python or it's another program ?

berndbausch 12-09-2013 06:10 PM

Quote:

Originally Posted by Linxay (Post 5078141)
ubuntu 12.04 LTS

My Debian-based distro, raspbian, has a package named "python". Try clearing the cache with apt-cache clean. Also, what is in your /etc/apt/sources.list file?

sycamorex 12-09-2013 06:11 PM

Glad it worked. Yes, it's something different:
https://storm.canonical.com/

Linxay 12-09-2013 06:33 PM

Quote:

Originally Posted by berndbausch (Post 5078152)
My Debian-based distro, raspbian, has a package named "python". Try clearing the cache with apt-cache clean. Also, what is in your /etc/apt/sources.list file?

i typed the command that sycamorex wrote

python 2.7 and it worked not python only

Linxay 12-09-2013 07:26 PM

Quote:

Originally Posted by sycamorex (Post 5078153)
Glad it worked. Yes, it's something different:
https://storm.canonical.com/

are you know about Storm open source ..? or Are you worked on it before .. ?

sycamorex 12-10-2013 02:06 AM

Quote:

Originally Posted by Linxay (Post 5078178)
are you know about Storm open source ..? or Are you worked on it before .. ?

I believe Storm is open source but I have never worked with it.


All times are GMT -5. The time now is 07:54 PM.