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目录中。文章来源:https://www.toymoban.com/news/detail-615942.html
拷贝后,新安装numpy的numpy-1.21.6.dist-info目录
文章来源地址https://www.toymoban.com/news/detail-615942.html
到了这里,关于ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘d:\\anaco的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!