From owner-freebsd-questions@FreeBSD.ORG Thu Sep 23 18:01:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B733106564A for ; Thu, 23 Sep 2010 18:01:56 +0000 (UTC) (envelope-from freebsd-announce@chthonic.com) Received: from sdf.lonestar.org (mx.freeshell.org [192.94.73.19]) by mx1.freebsd.org (Postfix) with ESMTP id 3341E8FC0A for ; Thu, 23 Sep 2010 18:01:55 +0000 (UTC) Received: from sdf.lonestar.org (sdf.lonestar.org [192.94.73.15]) by sdf.lonestar.org (8.14.4/8.14.3) with ESMTP id o8NHTUlq001002 for ; Thu, 23 Sep 2010 17:29:30 GMT Received: (from ja@localhost) by sdf.lonestar.org (8.14.4/8.12.8/Submit) id o8NHTUJT028846 for freebsd-questions@freebsd.org; Thu, 23 Sep 2010 17:29:30 GMT X-Authentication-Warning: sdf.lonestar.org: ja set sender to freebsd-announce@chthonic.com using -f Date: Thu, 23 Sep 2010 17:29:30 +0000 From: "J. Altman" To: freebsd-questions@freebsd.org Message-ID: <20100923172930.GA12324@SDF.LONESTAR.ORG> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Python 2 and Python 3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 18:01:56 -0000 Greetings... uname -a: FreeBSD whisperer.chthonixia.net 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Mon Sep 20 13:09:28 EDT 2010 root@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER amd64 I am interested in installing Python 3 to follow examples in a beginner's programming book. I found this: ======================== http://forums.freebsd.org/showthread.php?t=17423 September 1st, 2010, 12:49 I have python 2.5, 2.6 and 3.1 installed. Python 2.6 is the default now I believe so you should not need to do anything special. To be safe you can edit make.conf to contain the following Code: PYTHON_VERSION=2.6 PYTHON_DEFAULT_VERSION=2.6 ==================================== As I understand it, the entry into make.conf should keep me from breaking python-related things in the base or ports; yet allow me to call the version I want at the command line or via IDLE. Then, when Python is upgraded, I should change the make.conf entry to 2.7, or whatever it becomes. Is there any other recommendation(s) this list might offer? I don't have any major goals beyond those of a self-taught beginner, if that makes sense. Please feel free to Cc: me, as I am not subscribed to the list. Thanks for your time, and best regards, Joe