Date: Mon, 10 Oct 2016 17:20:42 -0400 From: "Karl Vogel" <vogelke@pobox.com> 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> In-Reply-To: <08a401d22320$c0b74e90$4225ebb0$@silvertree.org> References: <08a401d22320$c0b74e90$4225ebb0$@silvertree.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161010212042.GA29649>