Python33 on 10.0 Troubles
srguglielmo at gmail.com
Mon Feb 10 16:59:13 UTC 2014
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
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
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!
More information about the freebsd-questions