DerwenAI / kglab

Graph Data Science: an abstraction layer in Python for building knowledge graphs, integrated with popular graph libraries – atop Pandas, NetworkX, RAPIDS, RDFlib, pySHACL, PyVis, morph-kgc, pslpython, pyarrow, etc.
https://derwen.ai/docs/kgl/
MIT License
575 stars 65 forks source link

Klgab on Anaconda throws cuDf exception #198

Open b1ngster opened 3 years ago

b1ngster commented 3 years ago

The version installed via pip caused this error on ubuntu 20.04 but the error does not occur when the repo is installed via git.

image

PYNMXL commented 2 years ago

I'm also facing this error. It appears that cudf and cugraph require a Linux based machine? Is there any way to skip this dependency if I don't want to use GPU acceleration? I'm constrained to a Windows machine, and just because it has a GPU I can't seem to get import kglab to work. I also tried to install from the repo directly as suggested above.

Mec-iS commented 2 years ago

you can try:

kg = kglab.KnowledgeGraph(
    use_gpus=False
)
ceteri commented 2 years ago

@b1ngster @PYNMXL: does the recent patch fix this issue for you?