how to remove entirely the python directory? -


please me resolve issue removing of python directory. there stack trace of bug when try remove python directory using following command apt-get autoremove python

importerror: no module named debpython dpkg: error processing python-pkg-resources (--remove):  subprocess installed pre-removal script returned error exit status 1 removing python-psutil ... traceback (most recent call last):   file "/usr/sbin/update-python-modules", line 16, in <module>  processing halted because there many errors. e: sub-process /usr/bin/dpkg returned error code (1) 

have tried

 sudo apt-get purge *your-program-name* 

this totally (well... almost) delete program , library(ies)

hope helps


Comments