docutils错误:由于OSError无法安装程序包:[Erno 2]没有这样的文件或目录



当我运行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文件夹,运行得很好

相关内容

最新更新