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’
原因:之前已經(jīng)安裝過numpy,導(dǎo)致新安裝的numpy的numpy-1.21.6.dist-info目錄中沒有METADATA文件。
解決方法:找到之前的安裝的numpy的numpy-1.21.6.dist-info目錄,將沒有的的文件拷貝到新安裝的numpy的numpy-1.21.6.dist-info目錄中。文章來源:http://www.zghlxwxcb.cn/news/detail-615942.html
拷貝后,新安裝numpy的numpy-1.21.6.dist-info目錄
文章來源地址http://www.zghlxwxcb.cn/news/detail-615942.html
到了這里,關(guān)于ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘d:\\anaco的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!