kundajelab / bpnet

Toolkit to train base-resolution deep neural networks on functional genomics data and to interpret them
http://bit.ly/bpnet-colab
MIT License
141 stars 33 forks source link

bpnet installation problem #31

Open spour opened 3 years ago

spour commented 3 years ago

Hi, I was trying to follow the end-to-end bpnet pipeline on google colab and had several installation problems I was hoping you could shed light on. ERROR: Cannot install bpnet==0.0.1, bpnet==0.0.10, bpnet==0.0.11, bpnet==0.0.12, bpnet==0.0.13, bpnet==0.0.14, bpnet==0.0.15, bpnet==0.0.16, bpnet==0.0.17, bpnet==0.0.18, bpnet==0.0.19, bpnet==0.0.2, bpnet==0.0.20, bpnet==0.0.21, bpnet==0.0.22, bpnet==0.0.23, bpnet==0.0.3, bpnet==0.0.4, bpnet==0.0.5, bpnet==0.0.6, bpnet==0.0.7, bpnet==0.0.8 and bpnet==0.0.9 because these package versions have conflicting dependencies.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. tensorflow 2.5.0 requires h5py~=3.1.0, but you have h5py 3.3.0 which is incompatible.

Upon trying to install bpnet via pip, I receive this list of errors : The conflict is caused by: bpnet 0.0.23 depends on pprint bpnet 0.0.22 depends on pprint bpnet 0.0.21 depends on pprint bpnet 0.0.20 depends on pprint bpnet 0.0.19 depends on pprint bpnet 0.0.18 depends on pprint bpnet 0.0.17 depends on pprint bpnet 0.0.16 depends on pprint bpnet 0.0.15 depends on pprint bpnet 0.0.14 depends on pprint bpnet 0.0.13 depends on pprint bpnet 0.0.12 depends on pprint bpnet 0.0.11 depends on pprint bpnet 0.0.10 depends on pprint bpnet 0.0.9 depends on pprint bpnet 0.0.8 depends on pprint bpnet 0.0.7 depends on pprint bpnet 0.0.6 depends on pprint bpnet 0.0.5 depends on pprint bpnet 0.0.4 depends on pprint bpnet 0.0.3 depends on pprint bpnet 0.0.2 depends on pprint bpnet 0.0.1 depends on pprint.

I found an issue where it said that the pprint requirement was removed from the setup file, but it seems that it's still causing trouble.

Thanks!

evanseitz commented 2 years ago

I had this exact issue and can confirm that the solution given by @wangdepin https://github.com/kundajelab/bpnet/issues/23 worked for me.

~running on macOS Big Sur 11.3.1