Skip to content
This repository was archived by the owner on Nov 18, 2023. It is now read-only.
This repository was archived by the owner on Nov 18, 2023. It is now read-only.

Unable to install Grakn KGLIB package - Conflicting dependencies #152

@nicolamassarenti

Description

@nicolamassarenti

Description

Unable to install grakn-kglib with Grakn 2.0.2 and python client grakn-client==2.0.1.

Environment

  1. OS: Ubuntu 20.04
  2. Grakn version: Grakn server 2.0.2, Grakn console 2.0.1
  3. Grakn KGLIB and client-python version: grakn-kglib==0.2.2, grakn-client==2.0.1.
  4. Python version: Python 3.8.5

Steps to create the smallest reproducible scenario:
With the following packages installed:

appdirs==1.4.4
black==20.8b1
click==7.1.2
grakn-client==2.0.1
grakn-protocol==2.0.1
grpcio==1.36.1
mypy-extensions==0.4.3
numpy==1.20.2
pandas==1.2.4
pathspec==0.8.1
pkg-resources==0.0.0
protobuf==3.15.5
python-box==5.3.0
python-dateutil==2.8.1
pytz==2021.1
PyYAML==5.4.1
regex==2021.4.4
six==1.15.0
toml==0.10.2
typed-ast==1.4.3
typing-extensions==3.7.4.3

when running the command pip install grakn-kglib I receive the following error:

ERROR: Cannot install grakn-kglib==0.1, grakn-kglib==0.2, grakn-kglib==0.2.1 and grakn-kglib==0.2.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    grakn-kglib 0.2.2 depends on scipy==1.3.1
    grakn-kglib 0.2.1 depends on scipy==1.3.1
    grakn-kglib 0.2 depends on tensorflow==1.14.0
    grakn-kglib 0.1 depends on tensorflow==1.11.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

As you can see from this picture:
image

And a little above is shown also the errors:
image

Expected Output

I would like to install and use the kglib package. How can I solve this problem? What is the issue?

Thanks,
Nicola

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