首页 > 解决方案 > 导入torch-geometric模块完整路径时出错,需要构造函数语法

问题描述

尝试导入 torch-vision 时出现以下错误

FileNotFoundError: Could not find module 'C:\...site-packages\torch_sparse\_convert_cuda.pyd' (or one of its 
dependencies). Try using the full path with constructor syntax.

但是“_convert_cuda.pyd”文件确实存在于上述路径中

标签: importtorch

解决方案


推荐阅读