tôi đã trăn 3.4 trong virtualenv của tôi, nhưng sau khi nâng cấp ubuntu để 16,04 python nâng cấp lên 3.5 nên python trong virtualenv tai nạn với các lỗi này:virtualenv trăn đã phá vỡ sau khi nâng cấp ubuntu 15,10-16,04
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)
Làm thế nào tôi có thể sửa chữa nó?
Bạn đã thử cài đặt lại Python 3.5 chưa? Module 'encodings' là một phần của quá trình cài đặt cơ bản. – mprat