本站教程收集整理的这篇文章主要介绍了我打破了python:我该怎么办?,本站教程本站觉得挺不错的,现在分享给大家,也给大家做个参考。
美国高防vps
我的Ubuntu 64位问题很严重……
我尝试清理我编译修改过的python版本时的python测试.但我想我打破了一切:s
现在,当我启动cmd“python3”时,我有:
>python3
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'
Aborted
我不能“apt-get install python3.3”,我无法删除它…
我试过了:
apt-get clean
apt-get autoclean
apt-get update
apt-get upgrade
没有
我现在不能做什么……
编辑:
我觉得太多了.幸运的是,我在一周前备份了我的Vm.所以我像以前一样恢复了它.
下次我想要正确地重新安装软件包,我将使用“sudo apt-get install – 重新安装python3”. (谢谢)
但是我认为在家里编译时我们无法卸载python3(https://askubuntu.com/questions/244544/how-to-install-python-3-3)….
“make:***没有规则让目标’卸载’.停止.”
本站总结
以上是本站教程为你收集整理的我打破了python:我该怎么办?全部内容,希望文章能够帮你解决我打破了python:我该怎么办?所遇到的程序开发问题。
如果觉得本站教程网站内容还不错,欢迎将本站教程推荐给好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。