【求助】python-notify这是什么鬼?
Tofloor
poster avatar
153******90
deepin
2018-01-15 02:35
Author
本帖最后由 ghost005 于 2018-1-14 19:43 编辑

donald@donald-PC:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree      
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python-notify (0.1.1-4) ...
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in
    from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error processing package python-notify (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
python-notify
E: Sub-process /usr/bin/dpkg returned an error code (1)
======================================================================================
如何可以清理掉?

Reply Favorite View the author
All Replies
avatar
153******90
deepin
2018-01-15 20:12
#1
没人知道么?
Reply View the author
avatar
sudo_free
deepin
2018-01-15 20:31
#2
sudo pip install ConfigParser
然后再试试
Reply View the author
avatar
153******90
deepin
2018-01-15 20:36
#3
https://bbs.deepin.org/post/151813
sudo pip install ConfigParser
然后再试试

donald@donald-PC:~$ sudo pip install ConfigParser
Requirement already satisfied: ConfigParser in /usr/local/lib/python3.5/dist-packages
donald@donald-PC:~$
Reply View the author
avatar
sudo_free
deepin
2018-01-16 02:37
#4
https://bbs.deepin.org/post/151813
donald@donald-PC:~$ sudo pip install ConfigParser
Requirement already satisfied: ConfigParser in / ...

然后报一样的错?那pip3 install试试?
Reply View the author