“ ImportError:没有名为_struct的模块”配置python-minimal
当我运行时sudo apt-get upgrade,出现dpkg错误并中断该过程。 错误详情: Setting up python-minimal (2.7.3-0ubuntu7.1) ... Traceback (most recent call last): File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/lib/python2.7/compileall.py", line 16, in <module> import struct File "/usr/local/lib/python2.7/struct.py", line 1, in <module> from _struct …