ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'd:\\anaconda\\envs\\xjqenv\\lib\\site-packages\\numpy-1.19.0.dist-info\\METADATA'
原因:通常是因为已经存在其他版本的包了,可在错误提示里的路径下看到有其他版本包了。
解决方法:删除错误提示中的文件路径的倒数第二层的文件夹,比如把d:\anaconda\envs\xjqenv\lib\site-packages下的numpy-1.19.0.dist-info删除。