【踩坑】PyTorch报错

前言

PyTorch报错:RuntimeError: use_libuv was requested but PyTorch was build without libuv support

解决问题

  • 更换PyTorch版本
1
pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu118

完成

参考文献

Github——yuncengshangdepingyuan