当我运行pip show
时,我得到
FileNotFoundError: [Errno 2] No such file or directory: '/[my_home] /.local/lib/python3.8/site-packages/docutils-0.16.dist-info/METADATA'
当我尝试安装docutils
时
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/[my_home]/.local/lib/python3.8/site-packages/docutils-0.16.dist-info/METADATA'
知道吗?
感谢
ps:在pip上——22.0.4版本(python 3.8(
因此,
也多亏了@phd的评论,
我删除了/[my_home]/.local/lib/python3.8/site-packages/
中的所有docutils
文件夹,运行得很好