python - 如何完全删除python目录?

标签 python

请帮我解决有关删除 python 目录的问题。当我尝试使用以下命令apt-get autoremove python

删除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/

相关文章:

Python range( ) 没有给我一个列表

python - 有理数生成器 (Python)

python - TimeGrouper 的 Pandas 组

python - Pandas:向分类数据框添加一列

python - POSIX语言环境,UnicodeDecodeError

javascript - 将 Flask 变量直接传递给 vue 的最佳方式是什么?

python - python的PDF417解码器

python - 如何覆盖 Flask 模块中 PUT 和 DELETE 的 HTTP 方法?

python - ccxt python库无法在我的本地计算机上连接bitmex专用api

python - PyQt - 是否可以运行两个应用程序?