相关疑难解决方法(0)

无法卸载 numpy 1.21.2,找不到 RECORD 文件

我在安装的时候遇到了一个问题, pip install pytorch-nlp 错误如下:

ERROR: Could n`ot install packages due to an OSError: [Errno 2] No such file or directory: 'c:\\users\\pcpcpc\\anaconda3\\envs\\pytorch\\lib\\site-packages\\numpy-1.21`.2.dist-info\\METADATA'
Run Code Online (Sandbox Code Playgroud)

所以我尝试重新安装 numpy

ERROR: Could n`ot install packages due to an OSError: [Errno 2] No such file or directory: 'c:\\users\\pcpcpc\\anaconda3\\envs\\pytorch\\lib\\site-packages\\numpy-1.21`.2.dist-info\\METADATA'
Run Code Online (Sandbox Code Playgroud)

但我收到错误:

ERROR: Cannot uninstall numpy 1.21.2, RECORD file not found. You might be able to recover from this via: 'pip install --force-reinstall --no-deps numpy==1.21.2'.
Run Code Online (Sandbox Code Playgroud)

numpy

41
推荐指数
3
解决办法
5万
查看次数

标签 统计

numpy ×1