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

  • Home
  • SEARCH
  • 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 1067073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:06:15+00:00 2026-05-16T20:06:15+00:00

I have python 2.6.1 installed on Mac OS X. I wanted to play around

  • 0

I have python 2.6.1 installed on Mac OS X. I wanted to play around with python 3.2, so i created a virtual enviromant using

virtualenv python3.0

and then activated it using

source python3.0/bin/activate

if I update the python in the virtualenv will it leave my system python untouched? If yes, do I just install python 3 using pip install?

  • 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-05-16T20:06:15+00:00Added an answer on May 16, 2026 at 8:06 pm

    When you create through

    virtualenv python3.0
    

    It creates a symlink in the virtual env folder bin directory :

    lrwxr-xr-x   1 ---  ---     6 Aug 23 13:28 python2.6 -> python
    

    So you can not do just pip install to upgrade python.

    On mac osx, you can have multiple versions of python installed. In your case , install Python 3.0 and then use that version to call the virtualenv.

    Python is installed in /usr/bin

    -rwxr-xr-x  2 root  heel  86000 Feb 11  2010 python
    -rwxr-xr-x  5 root  heel    925 Feb 11  2010 python-config
    lrwxr-xr-x  1 root  heel     75 Aug 23 10:01 python2.5 -> ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5
    lrwxr-xr-x  1 root  heel     82 Aug 23 10:01 python2.5-config -> ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5-config
    lrwxr-xr-x  1 root  heel     75 Aug 23 10:01 python2.6 -> ../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
    lrwxr-xr-x  1 root  heel     82 Aug 23 10:01 python2.6-config -> ../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/python
    

    /usr/bin/python3.0 virtualenv yourenv.

    This env will have a symlink for python 3.0

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

Sidebar

Related Questions

I am using python 2.6 on XP. I have just installed py2exe, and I
I have a Python module installed on my system and I'd like to be
I am running a windows machine have installed Python 2.5. I also used the
If I wanted to have Python distributed across multiple processors on multiple computers, what
I have installed pylons based application from egg, so it sits somewhere under /usr/lib/python2.5/site-packages.
I have Python 2.6 and I want to install easy _ install module. The
I have an install of python 2.5 that fink placed in /sw/bin/. I use
If I have Python code class A(): pass class B(): pass class C(A, B):
Is it possible to have Python save the .pyc files to a separate folder
Does Python have a unit testing framework compatible with the standard xUnit style of

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.