当我尝试卸载该软件包时,我收到以下消息:
python-wxgtk3.0 已安装 python-wxgtk3.0 包预删除脚本子进程返回错误退出状态 1
输出如下:
After this operation, 30.5 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 308794 files and directories currently installed.)
Removing python-wxgtk3.0 (3.0.2.0+dfsg-8build1) ...
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
dpkg: error processing package python-wxgtk3.0 (--remove):
installed python-wxgtk3.0 package pre-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
update-alternatives: error: alternative path /usr/lib/wx/python/wx3.0.pth doesn't exist
dpkg: error while cleaning up:
installed python-wxgtk3.0 package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
python-wxgtk3.0
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)