[Tutor] specifying my "default" python installation

Debby Mendez debby at glance.net
Fri Aug 17 17:40:42 CEST 2012


OK thanks.  It sounds like maybe this is all normal then, not an indication
that something went wrong with my 3.2 install.

-----Original Message-----
From: tutor-bounces+debby=glance.net at python.org
[mailto:tutor-bounces+debby=glance.net at python.org] On Behalf Of Prasad,
Ramit
Sent: Friday, August 17, 2012 11:06 AM
To: tutor at python.org
Subject: Re: [Tutor] specifying my "default" python installation

> I am new to both freebsd and python.
> I have python 2.6 and 3.2 both installed on freebsd.
> "python" runs python 2.6 and I need to use "python3.2" to run python 
> 3.2 Do I need to do something to make python 3.2 the default?

I am not really familiar with BSD but *nix has the application
update-alternatives. That will do what you want. Otherwise, you could change
the name/location in the bin directory.
It is likely that python is a symlink to python2.6 and all you need to do is
change the symlink to point to python3.2.
If no symlink is used you can rename the binaries instead.

Apologies in advanced if this is way off base.



Ramit

This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of securities,
accuracy and completeness of information, viruses, confidentiality, legal
privilege, and legal entity disclaimers, available at
http://www.jpmorgan.com/pages/disclosures/email.  
_______________________________________________
Tutor maillist  -  Tutor at python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list