stadlmax / Graph-Posterior-Network

Graph Posterior Network: Bayesian Predictive Uncertainty for Node Classification (NeurIPS 2021)
https://www.daml.in.tum.de/graph-postnet
MIT License
39 stars 12 forks source link

ResolvePackageNotFound for installing the conda environment #2

Closed vietngth closed 2 years ago

vietngth commented 2 years ago

Hi, I tried to install the conda environment for the repo and encountered this problem:

(base) viet@cad660901:~/work/Graph-Posterior-Network$ conda env create -f gpn_environment.yml python==3.8 --force
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound: 
  - python==3.8.3=hcff3b4d_2c

I wonder if there is any change from your side that I should follow? Thank you.

xyang2316 commented 2 years ago

Hi, I tried to install the conda environment for the repo and encountered this problem:

(base) viet@cad660901:~/work/Graph-Posterior-Network$ conda env create -f gpn_environment.yml python==3.8 --force
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound: 
  - python==3.8.3=hcff3b4d_2c

I wonder if there is any change from your side that I should follow? Thank you.

Met the same problem. Any suggestions would be helpful, thank you!

mtntruong commented 2 years ago

There might be some changes in Anaconda's repositories. Edit line 123 of gpn_environment.yml as follows
Old

  - python=3.8.3=hcff3b4d_2c

New

  - python=3.8.3=hcff3b4d_2

And you're good to go.

stadlmax commented 2 years ago

You probably are right. There were no changes on our side.

stadlmax commented 2 years ago

If someone could confirm that this simple change of the pinned version leads to a working solution, I can close this issue.

xyang2316 commented 2 years ago

If someone could confirm that this simple change of the pinned version leads to a working solution, I can close this issue.

It works on my side, I can create the gpn conda environment after doing the modification. Thank you for your help!

vietngth commented 2 years ago

Confirm working on my side as well. Thank you!