LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2003, 11:13 PM   #1
ifurita
LQ Newbie
 
Registered: Aug 2003
Posts: 16

Rep: Reputation: 0
Question Python 2.3 installed but still coming up 2.2.2 why?


I think I've made a mess of my system. I was trying to get bittorrent to work ... it use to work if I did the btdownloadcurses.py command but I never could get the gui to install. Now I can't even get the btdownloadcurses.py to work anymore.

I attempted to install Python 2.3 since that is what the bittorrent thing kept insisting I needed.

So I installed 2.3 and it really is out there. The directory /usr/lib/python2.3 was created and filled with stuff after I ran the rpm.

Except that /usr/lib/python2.2 is still out there and when I type python it is coming up with Python 2.2.2 (#2, Feb 5 2003, 10:40:08)
[GCC 3.2.1 (Mandrake Linux 8.1 3.2.1-5mdk)]

And when I run the thing to try to install the latest version of bittorrent I get the message
python-base = 2.3 is needed by bittorrent-3.2.b1-6mdk
Install aborted.

So I'm at a loss. If I run the 2.3 python rpm it tells me it is installed. But it doesn't seem to run. However at least enough of 2.3 seems to be in place that it has broken my 2.2 so the downloadcurses doesn't work anymore.

Anyone have any idea how I can undo the mess I've made?
 
Old 10-10-2003, 11:43 PM   #2
pesho_p
Member
 
Registered: Oct 2002
Location: 42 42' N, 23 19' E
Distribution: Slackware 8.1
Posts: 77

Rep: Reputation: 15
Re: Python 2.3 installed but still coming up 2.2.2 why?

Be aware that I'm not very familiar with RPM based systems, however you can try this:

1. If you type: rpm -q python* (or just python (without asterisk)) it should display names of installed packages containing 'python' in their names (or at least I think so).
2. Type: rpm -e name_of_the_python_2.2.2_package_from_step_one (this will remove Python 2.2.2 from your system).
3. Type: rpm -Uhv name_of_python_2.3.0_package_from_step_one (this will remove and install again (i.e. re-install) your instance of Python 2.3.0 (just in case; it may work even without that, but...)).
4. Type: python -V. It should display 2.3.0. If not, well, you're out of luck. Wait for help from someone other.
 
  


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
Installed Python 2.4 Tuul Programming 3 01-25-2005 08:46 AM
Python coming from Java/C++: Classes from 1000 feet, help johnMG Programming 5 08-10-2004 09:40 PM
COMING SOON: HP LAPTOP /W PRE-INSTALLED LINUX (sorry for caps) imonfya Linux - Laptop and Netbook 2 08-04-2004 05:21 PM
python 2.3 installed on RH 9 but 2.2.2 is active Dominik Linux - Software 5 12-07-2003 09:22 AM
need help urgently!!! display not coming and error mesage coming when user is logging rddreamz Linux - Newbie 0 08-14-2003 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:02 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
Open Source Consulting | Domain Registration