When installing the python environment, using pip to install certain packages (such as TensorFlow, tensor2tensor, etc.), the following error message may pop up:
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'd:\users\xxxx\anaconda3\xxx\site-packages\numpy-1.20.3.dist-info\METADATA
It is also possible that there are other versions in the corresponding installation package in the installation environment. Just copy the contents of the corresponding folders of other versions to the path in the error message. For example, the system prompts that there is no numpy-1.20.3.dist-info\ METADATA file, if you find that there is already a 1.20.2 version file in the installation path, copy the 1.20.2 version file directly to the 1.20.3 path and install it again.