Can't Install dgl==0.4.3

I need to install dgl==0.4.3 on my MacOS Monterey because this code GitHub - EnyanDai/FairGNN: A PyTorch implementation of "Say No to the Discrimination: Learning Fair Graph Neural Networks with Limited Sensitive Attribute Information" (WSDM 2021) is dependent on this version. However, I can only install certain versions of dgl and not this specific version (0.4.3).

This is error I get ERROR: Could not find a version that satisfies the requirement dgl==0.4.3 (from versions: 0.6.0, 0.6.0.post1, 0.6.1, 0.9.0, 0.9.1, 1.0.0, 1.0.1, 1.1.0, 1.1.1) ERROR: No matching distribution found for dgl==0.4.3

Does anyone know anyway to go about this?
My version of pip is 23.2.1 and python version is 3.9.7

Hi @DonkaDonkey, could you try the solution in Install DGL previous version?

Hi @czkkkkkk I’m still getting an error. I think it is because my python is 3.9.7. Do you know what version of python dgl==0.4.3 uses? Perhaps I can change my python version.

Also when you mentioned to use the solution in the link, should I keep this "dgl-cuda10.1<0.5" or would I do something like dgl-cuda10.1=0.4.3 to fit the 0.4.3 version?

`Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - dgl-cuda10.1[version='<0.5']

Current channels:

  - https://conda.anaconda.org/dglteam/osx-64
  - https://conda.anaconda.org/dglteam/noarch
  - https://repo.anaconda.com/pkgs/main/osx-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://conda.anaconda.org/conda-forge/osx-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://conda.anaconda.org/nvidia/osx-64
  - https://conda.anaconda.org/nvidia/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.`

Sorry for the late reply. Yeah, I found DGL 0.4 only support Python 3.5, 3.6, and 3.7.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.