I wanna install three packages in anaconda, but I face the following error.
Error: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'c:\\programdata\\anaconda3\\lib\\site-packages\\numpy-1.20.1.dist-info\\METADATA'
.
I have changed HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem@LongPathsEnabled
to 1
, but it does not still work. There are some similar problems with pip
and some solutions are provided but I could not apply them. Is there any difference between the pip\\METADA
error and numpy\\METADATA
error?
I have basic knowledge and I would be thankful if someone can explain how to fix it with details. For example, some people suggested installing in another directory, but I do not know how to do this.
Check if you have any other .\numpy-1.20.*xxx*.dist-info
folders.
If you do have and it is not empty ( it should have METADATA in it as well) copy that folder content to your
\numpy-1.20.1.dist-info\
You could remove the folder of "numpy-1.20.1.dist-info" in error information firstly, and try install again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With