Skip to content

Missing dependency on dgl #207

@ndickson-nvidia

Description

@ndickson-nvidia

Installing via pip as specified in the README, i.e. pip install dgllife , there's no dependency on any dgl package, so without manually installing a dgl package, dgllife fails to initialize at runtime. It is mentioned earlier in the README to install dgl, but it's easy to miss when working with code that imports dgllife directly, but not dgl. Also, without having a versioned dependency, compatibility issues may result in the future if people are using incompatible versions.

On the other hand, the dgl package naming with respect to CPU vs. CUDA 10.2/11.3/11.6 may make it challenging to add such a dependency, so it's not quite as simple as it seems. I just wanted to mention it because I ran into a case where dgl wasn't installed and there was some confusion among multiple people regarding dependencies. It worked after I ensured that a dgl package would be explicitly installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions