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目录
文章出处登录后可见!
已经登录?立即刷新