Thanks Nick, Any idea about the second question? When I python from /usr/loca/Python-2.4.1/bin, it does launch the interpreter but with an traceback error saying there is some conflict with "import readline" line on pythonrc.py file located somewhere in /etc/ directory. Is there any harm If I comment the it out (import readline)?
Thanks - Andy ----- Original Message ----- From: "Nick Lunt" <[EMAIL PROTECTED]> To: "Andy Dani" <[EMAIL PROTECTED]>, [email protected] Subject: RE: [Tutor] Python 2.4.1 on Mndrk Linux 10.1 - path Date: Fri, 14 Oct 2005 20:12:33 +0100 > > Hi Andy, > > > > Behalf Of Andy Dani > > > > Python 2.3.2 came with the linux distribution which is located in > > /usr/lib. > > > > Installed 2.4.1 in /usr/local/Python-2.4.1 > > > > updated /etc/profile path so IDLE or "python" would point to the > > latest version (2.4.1). > > > > PATH="$PATH:/usr/local/Python-2.4.1/:." > > export PATH > > > > But it is still pointing to the old one unless I go > > /use/local/Python-2.4.1/python. > > > > I want to be able to launch and run python 2.4.1, from the user > > account so I do not need to be "root" every time. > > The default install of python on Mandrake probably install the python > executable in /usr/bin/python. > /usr/bin/ is in your PATH, so if you put PATH=$PATH:/usr/local/Python-2.4.1 > in /etc/profile it will still pick up the default python install. > > Try typing 'which python' at the command line and see what it picks up. > Chances are it will be /usr/bin/python. > > You could solve this by either putting > PATH=/path/to/my/wanted/python/dir:$PATH in /etc/profile (or > ~/.bash_profile) or by putting an alias in ~/.bashrc, such as 'alias > python='path/to/my/wanted/python/dir/python'. > > What I must stress is that you do not overwrite your default python > installation, leave it as it is, otherwise many of mandrakes GUI tools will > no work. > > I hope that helps, feel free to ask more questions about this as I have had > to overcome the same issue on RHEL serveral times. > > Hth, > Nick . Thank You Andy [EMAIL PROTECTED] (647) 222 9073 ============================= He is able who thinks he is able -Buddha -- _______________________________________________ Search for businesses by name, location, or phone number. -Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10 _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
