ERROR: Cannot uninstall torch 1.10.1, RECORD file not found. You might be able to recover from this

WARNING: Error parsing requirements for torch: [Errno 2] No such file or directory: ‘c:\users\administrator\pycharmprojects\yolov5-master\venv\lib\site-packages\torch-1.10.1.dist-info\METADATA’
Installing collected packages: torch, torchvision, torchaudio
Attempting uninstall: torch
Found existing installation: torch 1.10.1
ERROR: Cannot uninstall torch 1.10.1, RECORD file not found. You might be able to recover from this via: ‘pip install --force-reinstall --no-deps torch==1.10.1’.

出现这种怎么都卸载不了,就来暴力的,
打开安装的文件夹
C:\Users\Administrator\PycharmProjects\yolov5-master\venv\Lib\site-packages
删除掉你要卸载的文件夹
ERROR: Cannot uninstall torch 1.10.1, RECORD file not found. You might be able to recover from this_第1张图片

你可能感兴趣的:(pytorch,深度学习,人工智能)