Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8874291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:40:58+00:00 2026-06-14T18:40:58+00:00

I just installed Python 2.7 in our server, they had 2.4 installed before hand.

  • 0

I just installed Python 2.7 in our server, they had 2.4 installed before hand.

After I built the new version, my path is still pointing to the old version of python, do you know an easy way to change this.

I do not have sudo permissions nor root access.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T18:40:59+00:00Added an answer on June 14, 2026 at 6:40 pm

    Because you are on the server and don’t have root permissions, the best choice for you is to use virtualenv

    Build Python 2.7, for example, as following:

    $ ./configure --prefix=~/mydir
    $ make
    $ make install
    

    Download virtualen.py file and run:

    $ ~/mydir/bin/python virtualenv.py my_environment
    

    This will create an isolated Python 2.7 environment for you inside my_environment directory.

    To activate it run source my_environment/bin/activate and that’s it. Now python executable will be your Python 2.7. Additionally you will have pip installed and thus can easily install any additional libraries into your environment.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just installed django with python 2.7. After creating intitial project it says
Ok, so I just installed Python 2.7, but I all ready had python 2.5.
Just installed SimpleCV Version 1.3 Superpack (Python 2.7) and trying the Hello Word application
I just got knocked down after our server has been updated from Debian 4
I have just installed Python on my Windows 7. I thought that after that
I am new to python and just started learning it today. I have installed
I have a new server just installed. Everything seems to be fine but when
Just downloaded version 3.3.0 for windows today. I installed python and trying to get
Just installed Python 2.7.3 on a Windows7 machine. How do I get .py files
Just installed a clean version of mongodb on Fedora 17 64-bit, but the Mongo

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.