Find the answer to your Linux question:
Results 1 to 4 of 4
Does anyone know how to update python2.4 to 2.7 without removin 2.4...
  1. #1
    Just Joined!
    Join Date
    Jun 2011
    Posts
    19

    Update Python2.4 to 2.7

    Does anyone know how to update python2.4 to 2.7 without removin 2.4

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    If you are going to be building Python from source, you could just install Python 2.7 into its own dorectory e.g. /usr/local/python27.

  3. #3
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    Especially on red hat, you shouldn't update 2.4 to 2.7, because yum is highly dependent on the python that was shipped with it

    You can safely do what daark.child suggested and build from source, and just install to a different location. Just make sure you do not update the python and python2 symlinks to point to that one.

  4. #4
    Just Joined!
    Join Date
    Jun 2011
    Posts
    19
    But I use Python2.7 to install someting it says:
    python2.7 setup.py install
    Traceback (most recent call last):
    File "setup.py", line 11, in <module>
    from setuptools import setup, find_packages
    ImportError: No module named setuptools

    Its ok if I use python.

    does that mean I have to configure python2.7 to point to setuptools......if so how can I do it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...