【未解决】根据torch版本和cuda版本等来配置安装 torch_geometric工具包 Try using the full path with constructor syntax.

目录

    • 一、问题来源
    • 二、问题解决

一、问题来源

之前安装的torch_geometric,是可以安装成功,但是跑代码时报错,截图如下,(之前的安装步骤:点我就好)

【未解决】根据torch版本和cuda版本等来配置安装 torch_geometric工具包 Try using the full path with constructor syntax._第1张图片

内容即:FileNotFoundError: Could not find module ‘D:\Anaconda3\Lib\site-packages\torch_sparse_convert_cuda.pyd’ (or one of its dependencies). Try using the full path with constructor syntax.

考虑到可能是版本出现问题,所以这次打算安装匹配的版本试试。

二、问题解决

先来看torch的版本,win+R cmd 进入win的控制台,输入 conda list,下拉,

你可能感兴趣的:(深度学习,pytorch,python,geometric,问题记录)