From owner-freebsd-questions@freebsd.org Mon Oct 10 21:20:59 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2AFFC0CAEA for ; Mon, 10 Oct 2016 21:20:59 +0000 (UTC) (envelope-from prvs=1084837ab4=vogelke@pobox.com) Received: from VANDENBERG-MAIL1.afnoc.af.mil (vandenberg-mail1.afnoc.af.mil [132.3.61.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "VANDENBERG-MAIL1.afnoc.af.mil", Issuer "DOD CA-28" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E71CB10 for ; Mon, 10 Oct 2016 21:20:58 +0000 (UTC) (envelope-from prvs=1084837ab4=vogelke@pobox.com) Received-PRA: neutral (us.af.mil: 131.9.254.132 is neither permitted nor denied by domain of pobox.com) client-ip=131.9.254.132; envelope-from=vogelke@pobox.com; helo=us.af.mil; Received-SPF: neutral (us.af.mil: 131.9.254.132 is neither permitted nor denied by domain of pobox.com) client-ip=131.9.254.132; envelope-from=vogelke@pobox.com; helo=us.af.mil; Received: from us.af.mil (unknown [131.9.254.132]) by VANDENBERG-MAIL1.afnoc.af.mil with smtp (TLS: TLSv1/SSLv3,256bits,DHE-RSA-AES256-SHA) id 389c_0267_fbada5dc_9d79_400a_a8d9_3298f9f6e440; Mon, 10 Oct 2016 21:20:46 +0000 Received: from ([131.9.40.227]) by 52vejx-mr-001.us.af.mil with SMTP id FZY0FN1.248880729; Mon, 10 Oct 2016 16:20:42 -0500 Received: (qmail 479 invoked by uid 100); 10 Oct 2016 21:20:42 -0000 From: "Karl Vogel" Date: Mon, 10 Oct 2016 17:20:42 -0400 To: freebsd-questions@freebsd.org Subject: Re: Can't upgrade ports, undefined symbol error in Python 2.7 _io.so when compiling Message-ID: <20161010212042.GA29649@bsd118.wpafb.af.mil> Reply-To: vogelke+unix@pobox.com References: <08a401d22320$c0b74e90$4225ebb0$@silvertree.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <08a401d22320$c0b74e90$4225ebb0$@silvertree.org> User-Agent: Mutt/1.6.0 (2016-04-01) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2016 21:20:59 -0000 On Mon, Oct 10, 2016 at 11:04:32AM -0700, Scott Schappell wrote: > ===> Building for jsoncpp-1.7.7 > SCons import failed. Unable to find engine files in: > ... > /usr/local/lib/python2.7/site-packages/scons-2.5.0 > /usr/lib/python2.7/site-packages/scons-2.5.0 If you have two separate versions of python installed, maybe you're mixing their files. Make sure that $PYTHONPATH, $PYTHONHOME and sys.path only contain folders for a single Python installation. In your case, one installation is in /usr/local and the other is probably in /usr. See http://stackoverflow.com/questions/27383054/ for more. -- Karl Vogel I don't speak for the USAF or my company Is There a Ring of Debris around Uranus? --actual news headline, 2002