我的python=3.9.2,按照官方文档和论坛找的资料安装了pytorch开发环境,安装的pytorch=1.11.0,torch_npu=1.11.0,torch_geometric=2.3.1,但是运行代码会报错:AttributeError: module 'torch' has no attribute 'sparse_csc',网上找的资料说应该是torch、torch_geometric和 torch_cluster、torch_scatter、torch_sparse、torch_spline_conv 这些库的版本不匹配。
可是单独安装torch_cluster、torch_scatter、torch_sparse、torch_spline_conv这些库也会报错:
ERROR: Failed building wheel for torch_scatter
Running setup.py clean for torch_scatter
Failed to build torch_scatter
ERROR: Could not build wheels for torch_scatter, which is required to install pyproject.toml-based projects
想着下载whl来按照也找不到aarch64框架的版本,有什么办法可以解决吗?
我的python=3.9.2,按照官方文档和论坛找的资料安装了pytorch开发环境,安装的pytorch=1.11.0,torch_npu=1.11.0,torch_geometric=2.3.1,但是运行代码会报错:AttributeError: module 'torch' has no attribute 'sparse_csc',网上找的资料说应该是torch、torch_geometric和 torch_cluster、torch_scatter、torch_sparse、torch_spline_conv 这些库的版本不匹配。
可是单独安装torch_cluster、torch_scatter、torch_sparse、torch_spline_conv这些库也会报错:
ERROR: Failed building wheel for torch_scatter
Running setup.py clean for torch_scatter
Failed to build torch_scatter
ERROR: Could not build wheels for torch_scatter, which is required to install pyproject.toml-based projects
想着下载whl来按照也找不到aarch64框架的版本,有什么办法可以解决吗?