and i want to show you my envs and my operations.maybe it is a little long
(openhgnn) user@user-System-Product-Name:~$ pip list
Package Version
absl-py 2.1.0
alembic 1.14.0
annotated-types 0.7.0
Brotli 1.0.9
certifi 2024.8.30
charset-normalizer 3.3.2
colorama 0.4.6
colorlog 6.9.0
dgl 2.4.0+cu124
filelock 3.13.1
fsspec 2024.2.0
gmpy2 2.1.2
greenlet 3.1.1
grpcio 1.67.1
idna 3.7
Jinja2 3.1.4
joblib 1.4.2
littleutils 0.2.4
Mako 1.3.6
Markdown 3.7
MarkupSafe 2.1.3
mkl_fft 1.3.10
mkl_random 1.2.7
mkl-service 2.4.0
mpmath 1.3.0
networkx 3.2.1
numpy 1.26.3
nvidia-cublas-cu12 12.4.2.65
nvidia-cuda-cupti-cu12 12.4.99
nvidia-cuda-nvrtc-cu12 12.4.99
nvidia-cuda-runtime-cu12 12.4.99
nvidia-cudnn-cu12 9.1.0.70
nvidia-cufft-cu12 11.2.0.44
nvidia-curand-cu12 10.3.5.119
nvidia-cusolver-cu12 11.6.0.99
nvidia-cusparse-cu12 12.3.0.142
nvidia-nccl-cu12 2.20.5
nvidia-nvjitlink-cu12 12.4.99
nvidia-nvtx-cu12 12.4.99
ogb 1.3.6
openhgnn 0.7.0
optuna 4.0.0
outdated 0.2.2
packaging 24.1
pandas 2.2.3
pillow 10.2.0
pip 24.2
protobuf 5.28.3
psutil 5.9.0
pydantic 2.9.2
pydantic_core 2.23.4
PySocks 1.7.1
python-dateutil 2.9.0.post0
pytz 2024.2
PyYAML 6.0.2
requests 2.32.3
scikit-learn 1.5.2
scipy 1.13.1
setuptools 75.3.0
six 1.16.0
SQLAlchemy 2.0.36
sympy 1.13.2
tensorboard 2.18.0
tensorboard-data-server 0.7.2
threadpoolctl 3.5.0
torch 2.4.0+cu124
torchaudio 2.4.0+cu124
torchvision 0.19.0+cu124
tqdm 4.66.5
triton 3.0.0
typing_extensions 4.11.0
tzdata 2024.2
urllib3 2.2.3
Werkzeug 3.1.2
wheel 0.44.0
(openhgnn) user@user-System-Product-Name:~$ python
Python 3.11.10 (main, Oct 3 2024, 07:29:13) [GCC 11.2.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
import torch
torch.cuda.is_available()
True
import dgl
from openhgnn import Experiment
Traceback (most recent call last):
File “/home/user/anaconda3/envs/openhgnn/lib/python3.11/site-packages/dgl/sparse/init.py”, line 38, in load_dgl_sparse
torch.classes.load_library(path)
File “/home/user/anaconda3/envs/openhgnn/lib/python3.11/site-packages/torch/_classes.py”, line 52, in load_library
torch.ops.load_library(path)
File “/home/user/anaconda3/envs/openhgnn/lib/python3.11/site-packages/torch/_ops.py”, line 1295, in load_library
ctypes.CDLL(path)
File “/home/user/anaconda3/envs/openhgnn/lib/python3.11/ctypes/init.py”, line 376, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libnvrtc.so.12: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “”, line 1, in
File “/home/user/anaconda3/envs/openhgnn/lib/python3.11/site-packages/openhgnn/init.py”, line 2, in
from .dataset import *
File “/home/user/anaconda3/envs/openhgnn/lib/python3.11/site-packages/openhgnn/dataset/init.py”, line 4, in
from .utils import load_acm, load_acm_raw, generate_random_hg
File “/home/user/anaconda3/envs/openhgnn/lib/python3.11/site-packages/openhgnn/dataset/utils.py”, line 10, in
from dgl import sparse as dglsp
File “/home/user/anaconda3/envs/openhgnn/lib/python3.11/site-packages/dgl/sparse/init.py”, line 43, in
load_dgl_sparse()
File “/home/user/anaconda3/envs/openhgnn/lib/python3.11/site-packages/dgl/sparse/init.py”, line 40, in load_dgl_sparse
raise ImportError(“Cannot load DGL C++ sparse library”)
ImportError: Cannot load DGL C++ sparse library