ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘/home/inspur/anaconda3/envs/lmh/lib/python3.7/site-packages/numpy-1.20.2.dist-info/METADATA’
pip install时出现问题,ERROR: Could not install packages due to an OSError: ./lib/python3.7/site-packages
问题pip install安装库时,报下面的错误ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘/home/inspur/anaconda3/envs/lmh/lib/python3.7/site-packages/numpy-1.20.2.dist-info/METADATA’解决方法把numpy-1.20.2.dist-info这个文件删除,便能正常使用..