$ python
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site
答案1
重新安装 Python。打开终端并运行以下命令:
sudo apt-get install --reinstall python
这应该可以解决你的问题。