From owner-freebsd-questions@FreeBSD.ORG Mon Feb 10 16:59:13 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 77877544 for ; Mon, 10 Feb 2014 16:59:13 +0000 (UTC) Received: from mail-oa0-x22e.google.com (mail-oa0-x22e.google.com [IPv6:2607:f8b0:4003:c02::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 401221129 for ; Mon, 10 Feb 2014 16:59:13 +0000 (UTC) Received: by mail-oa0-f46.google.com with SMTP id n16so7766195oag.19 for ; Mon, 10 Feb 2014 08:59:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=LHbdyTfSeCboqKTl0RtfbgviL/m/GBRjOayzALoVioU=; b=u/X8Rt3Ir1AyMdE6udeL5lQmQ23nBSTA1xWWLTO7RfRD8k+PN51ZQsmlC+wrVEfStv Ger7GhelqmsIkdvbCsd7B8sTsCOYJSHF+vH8nNJO+tG/YHJ1TpPx13ody//VyXtIBqfn /aMTSbhyoWdQQYtFlIixYrxNxjzBfP2E5Q2yPQuqxw1Ph1kC8MOBfKzkDK+iK/8S07Kt U/JSfQAm4ul1P9a5X7yWsvV52yFQ4mZ5uuP+jHNRxtl+RXzRs3JRE1fRRQ0Eftipi7nB 6hjiKa33vkCXZbgQ0p7W4lKyhU2yDkDAlzdF7ZG+ondHV93QKXuMaY7HsowuV2TbJqAT XsYA== MIME-Version: 1.0 X-Received: by 10.60.103.134 with SMTP id fw6mr27915686oeb.34.1392051552458; Mon, 10 Feb 2014 08:59:12 -0800 (PST) Received: by 10.60.23.33 with HTTP; Mon, 10 Feb 2014 08:59:12 -0800 (PST) Date: Mon, 10 Feb 2014 11:59:12 -0500 Message-ID: Subject: Python33 on 10.0 Troubles From: Stephen Guglielmo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 16:59:13 -0000 Hi list, I just recently upgraded from 9.1 to 10.0, and also from pkg_* to pkgNG. It's all gone successfully, as far as I can tell. I have python 3.3.3 installed (no other version). However, whenever I run it, I get the following output: ---- ~> python --version Python 3.3.3 ~> python Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named 'encodings' Abort Exit 134 ~> locale LANG=en_US.US-ASCII LC_CTYPE="en_US.US-ASCII" LC_COLLATE="en_US.US-ASCII" LC_TIME="en_US.US-ASCII" LC_NUMERIC="en_US.US-ASCII" LC_MONETARY="en_US.US-ASCII" LC_MESSAGES="en_US.US-ASCII" LC_ALL= ---- I did re-install python after upgrading the OS and switching to pkgNG. I also reinstalled some ports that use python as well, but they all fail because python itself is failing. I do have WITHOUT_NLS and WITHOUT_NLS_CATALOGS defined in my src.conf. Maybe python relies on these for some sort of locale support? Any suggestions would be great! Thank you!