dercheangXshell上怎么pip不了torch了? 中发帖

现状: 
通过VPN客户端接入校内,XShell 7 连接服务器,在虚拟环境内,Python 3.9.12,错删了torch想装回来却装不回来了。问过ChatGPT,解决得一塌糊涂。
之前的操作是想运行代码时候多用两块显卡,结果发现:
=== CUDA Environment Check ===
CUDA is available: False
CUDA version: None
PyTorch version: 2.3.1+cpu
Number of GPUs: 0
Traceback (most recent call last):
File “……”, line 385, in
raise RuntimeError(“CUDA is not available. Please check your GPU installation”)
RuntimeError:...