ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘d:\\anaco

ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘d:\anaconda3\envs\pytorch\lib\site-packages\numpy-1.21.6.dist-info\METADATA’

原因:之前已经安装过numpy,导致新安装的numpy的numpy-1.21.6.dist-info目录中没有METADATA文件。
解决方法:找到之前的安装的numpy的numpy-1.21.6.dist-info目录,将没有的的文件拷贝到新安装的numpy的numpy-1.21.6.dist-info目录中。

拷贝后,新安装numpy的numpy-1.21.6.dist-info目录

文章出处登录后可见!

已经登录?立即刷新

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
心中带点小风骚的头像心中带点小风骚普通用户
上一篇 2023年9月7日
下一篇 2023年9月7日

相关推荐