When I import cugraph in a python console with import cugraph i get the AttributeError AttributeError: module 'cuda.ccudart' has no attribute '__pyx_capi__
Please help
Minimum reproducible example
import cugraph
Relevant log output
Traceback (most recent call last):
File "", line 1, in
File "/XXX/venv/lib/python3.10/site-packages/cugraph/init.py", line 14, in
from cugraph.community import (
File "/XXX/venv/lib/python3.10/site-packages/cugraph/community/init.py", line 14, in
from cugraph.community.louvain import louvain
File "/XXX/venv/lib/python3.10/site-packages/cugraph/community/louvain.py", line 15, in
from cugraph.structure import Graph
File "/XXX/venv/lib/python3.10/site-packages/cugraph/structure/init.py", line 14, in
from cugraph.structure.graph_classes import (
File "/XXXvenv/lib/python3.10/site-packages/cugraph/structure/graph_classes.py", line 15, in
from .graph_implementation import (
File "/XXXvenv/lib/python3.10/site-packages/cugraph/structure/graph_implementation/init.py", line 14, in
from .simpleGraph import simpleGraphImpl
File "/XXX/venv/lib/python3.10/site-packages/cugraph/structure/graph_implementation/simpleGraph.py", line 14, in
from cugraph.structure import graph_primtypes_wrapper
File "graph_primtypes_wrapper.pyx", line 1, in init cugraph.structure.graph_primtypes_wrapper
File "/XXX/venv/lib/python3.10/site-packages/pylibraft/common/init.py", line 18, in
from .cuda import Stream
File "cuda.pyx", line 1, in init pylibraft.common.cuda
AttributeError: module 'cuda.ccudart' has no attribute '__pyx_capi__'
Environment details
Ubuntu 22.04.5
Python 3.10
Cuda toolkit version 11.5.1-lubuntu1
A16 with driver Version NVIDIA-SMI 550.54.14
Other/Misc.
No response
Code of Conduct
[x] I agree to follow cuGraph's Code of Conduct
[x] I have searched the open bugs and have found no duplicates for this bug report
Version
cugraph-cu11-24.10.0
Which installation method(s) does this occur on?
Pip
Describe the bug.
I installed cugraph using the following command:
$ pip install cugraph-cu11 --extra-index-url=https://pypi.nvidia.com
When I import cugraph in a python console with
import cugraph
i get the AttributeErrorAttributeError: module 'cuda.ccudart' has no attribute '__pyx_capi__
Please help
Minimum reproducible example
import cugraph
Relevant log output
Traceback (most recent call last): File "", line 1, in
File "/XXX/venv/lib/python3.10/site-packages/cugraph/init.py", line 14, in
from cugraph.community import (
File "/XXX/venv/lib/python3.10/site-packages/cugraph/community/init.py", line 14, in
from cugraph.community.louvain import louvain
File "/XXX/venv/lib/python3.10/site-packages/cugraph/community/louvain.py", line 15, in
from cugraph.structure import Graph
File "/XXX/venv/lib/python3.10/site-packages/cugraph/structure/init.py", line 14, in
from cugraph.structure.graph_classes import (
File "/XXXvenv/lib/python3.10/site-packages/cugraph/structure/graph_classes.py", line 15, in
from .graph_implementation import (
File "/XXXvenv/lib/python3.10/site-packages/cugraph/structure/graph_implementation/init.py", line 14, in
from .simpleGraph import simpleGraphImpl
File "/XXX/venv/lib/python3.10/site-packages/cugraph/structure/graph_implementation/simpleGraph.py", line 14, in
from cugraph.structure import graph_primtypes_wrapper
File "graph_primtypes_wrapper.pyx", line 1, in init cugraph.structure.graph_primtypes_wrapper
File "/XXX/venv/lib/python3.10/site-packages/pylibraft/common/init.py", line 18, in
from .cuda import Stream
File "cuda.pyx", line 1, in init pylibraft.common.cuda
AttributeError: module 'cuda.ccudart' has no attribute '__pyx_capi__'
Environment details
Other/Misc.
No response
Code of Conduct