LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2013, 06:40 PM   #1
Linxay
LQ Newbie
 
Registered: Dec 2013
Posts: 23

Rep: Reputation: Disabled
unable to locate python


i need to install python
i wrote

sudo apt-get install python
i got
unable to locate package python
 
Old 12-09-2013, 06:52 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Which linux distro (and version) are you using?
 
Old 12-09-2013, 06:57 PM   #3
Linxay
LQ Newbie
 
Registered: Dec 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sycamorex View Post
Which linux distro (and version) are you using?
ubuntu 12.04 LTS
 
Old 12-09-2013, 07:02 PM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
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)
 
1 members found this post helpful.
Old 12-09-2013, 07:09 PM   #5
Linxay
LQ Newbie
 
Registered: Dec 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sycamorex View Post
What if you try to type:
Code:
sudo apt-get install python2.7
Done it worked Thanks
Quote:
Originally Posted by sycamorex View Post
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 View Post
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 ?

Last edited by Linxay; 12-09-2013 at 07:10 PM.
 
Old 12-09-2013, 07:10 PM   #6
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 1,687

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
Quote:
Originally Posted by Linxay View Post
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?
 
1 members found this post helpful.
Old 12-09-2013, 07:11 PM   #7
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Glad it worked. Yes, it's something different:
https://storm.canonical.com/
 
1 members found this post helpful.
Old 12-09-2013, 07:33 PM   #8
Linxay
LQ Newbie
 
Registered: Dec 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
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
 
Old 12-09-2013, 08:26 PM   #9
Linxay
LQ Newbie
 
Registered: Dec 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sycamorex View Post
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 .. ?
 
Old 12-10-2013, 03:06 AM   #10
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Quote:
Originally Posted by Linxay View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
E:unable to locate package hafiznasrullah Linux - Server 7 09-10-2012 08:42 AM
[SOLVED] E: Unable to locate package nova-comm E: Unable to locate package python-psycopq2 mint12 Linux - Virtualization and Cloud 2 01-05-2012 01:07 PM
[SOLVED] E: Unable to locate package lamis0 Ubuntu 4 03-27-2011 07:33 AM
python update - Unable to load GTK2 Python bindings: No module named gtk itpedersen Linux - Software 2 10-03-2008 04:44 AM
unable to locate modules. cambie Red Hat 2 11-25-2004 12:08 PM


All times are GMT -5. The time now is 11:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration