Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Python location on a mac

  • 01-07-2010 7:13pm
    #1
    Registered Users, Registered Users 2 Posts: 872 ✭✭✭


    Hi,

    I'm getting a bit confused about which version of python is being used.

    If i type 'which python' it says

    /Library/Frameworks/Python.framework/Versions/Current/bin/python

    This seems to be a symlink to version 2.5 (see attachment). How could i update the symlink to point to a new python version ?

    Also, under /Library/Python there seems to be version 2.3. 2.5 and 2.6 there, can i delete all these because python is installed under Frameworks ?

    One more question :D How do i make a permanent update to my python path ?

    Thanks for any help


Comments

  • Registered Users, Registered Users 2 Posts: 7,468 ✭✭✭Evil Phil


    I'm going to move this to the Mac forum, you'll probably get more help there.


  • Registered Users, Registered Users 2 Posts: 6,284 ✭✭✭Talisman


    python --version

    This will tell you what version of Python is being used.

    If you want to change the version of Python install MacPorts.

    Afterwards install Python 2.6:
    sudo port install python26

    This will install Python in a different folder than that provided by the system so it won't be affected by Software Update.

    Install Python Select:
    sudo port install python_select

    Select Python 2.6:
    sudo python_select python26

    This will do the necessary PATH modifications to make MacPorts Python 2.6 your Python installation.


Advertisement