ubuntupython损坏_修复损坏的Python3.2安装(Ubuntu)
我愚蠢地從/usr/lib/python3.2中刪除subprocess.py模塊
所以我試圖通過執行以下命令來解決這個問題:sudo apt-get install python3
但我剛剛犯了個錯誤:Traceback (most recent call last): File "/usr/bin/py3compile", line 33, in
from subprocess import PIPE, Popen ImportError: No module named subprocess dpkg: error processing python3 (--configure): subprocess
installed post-installation script returned error exit status 1 dpkg:
dependency problems prevent configuration of python3-gobject:
python3-gobject depends on python3 (>= 3.2); however: Package
python3 is not configured yet. python3-gobject depends on python3 (<<
3.3); however: Package python3 is not configured yet. dpkg: error processing python3-gobject (--configure): dependency problems -
leaving unconfigured No apport report written because the error
message indicates its a followup error from a previous failure.
Errors were encountered while processing: python3 python3-gobject E: Sub-process /usr/bin/dpkg returned an
error code (1)
那我該怎么解決呢?
總結
以上是生活随笔為你收集整理的ubuntupython损坏_修复损坏的Python3.2安装(Ubuntu)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python etree创建xml_Py
- 下一篇: 时间转年月日_编程中常见的时间格式