note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: No metadata found in d:\software\python\lib\site-packages
Rolling back uninstall of numpy
Moving to d:\software\python\lib\site-packages\numpy-1.21.2.dist-info
from D:\software\Python\Lib\site-packages~umpy-1.21.2.dist-info
Moving to d:\software\python\lib\site-packages\numpy
from D:\software\Python\Lib\site-packages~umpy
Moving to d:\software\python\scripts\f2py.exe
from C:\Users\hp\AppData\Local\Temp\pip-uninstall-epha_u2v\f2py.exe
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.