我在安装的时候遇到了一个问题,
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 ×1