请帮我解决有关删除 python 目录的问题。当我尝试使用以下命令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 was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
最佳答案
你试过吗
sudo apt-get purge *your-program-name*
这将完全(嗯......几乎)删除您的程序及其库
希望这有帮助
关于python - 如何完全删除python目录?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30118689/