【发布时间】:2020-09-13 05:22:53
【问题描述】:
我已经用命令安装了pytorch:
conda install pytorch torchvision cudatoolkit=10.2 -c pytorch -y
Python 抱怨有关 line import torch 的消息:
Could not find module 'C:\ProgramData\Anaconda3\envs\edx\lib\site-packages\torch\lib\caffe2_nvrtc.dll' (or one of its dependencies). Try using the full path with constructor syntax
此目录包含库 caffe2_nvrtc.dll。可能有什么问题以及如何解决此错误?
【问题讨论】:
-
64 位与 32 位不匹配?
-
我的 Python 是 3.8.3 64 位。如何检查 Pytorch?
-
这是整个错误输出吗?能分享一下环境的内容吗?