我的virtualenv中有python 3.4,但在升级ubuntu到16.04后python升级到3.5所以在virtualenv中的python崩溃了这些错误:
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'
Current thread 0x00007f2f2dbcb700 (most recent call first):
fish: “python” terminated by signal SIGABRT (Abort)
Run Code Online (Sandbox Code Playgroud)
我该如何解决?