kundajelab / basepairmodels

MIT License
16 stars 6 forks source link

Installation fails due to tensorflow requirement #3

Open jmschrei opened 4 years ago

jmschrei commented 4 years ago

I tried to download the repo using the command pip install --no-cache-dir --ignore-installed git+https://github.com/kundajelab/basepairmodels.git from the README.

I get the following error:

Collecting git+https://github.com/kundajelab/basepairmodels.git
  Cloning https://github.com/kundajelab/basepairmodels.git to /tmp/pip-req-build-__cioa9b
  Running command git clone -q https://github.com/kundajelab/basepairmodels.git /tmp/pip-req-build-__cioa9b
WARNING: Keyring is skipped due to an exception: Failed to create the collection: Prompt dismissed..
WARNING: Keyring is skipped due to an exception: Failed to create the collection: Prompt dismissed..
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==1.14 (from basepairmodels==0.1.0) (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0)
ERROR: No matching distribution found for tensorflow-gpu==1.14 (from basepairmodels==0.1.0)
WARNING: Keyring is skipped due to an exception: Failed to create the collection: Prompt dismissed..
WARNING: Keyring is skipped due to an exception: Failed to create the collection: Prompt dismissed..
BeyondTheProof commented 3 years ago

Do you have the right version of python? Here is what I do to install everything:

conda create --name basepairmodels tensorflow python=3.7 conda activate basepairmodels pip install --no-cache-dir --ignore-installed git+https://github.com/kundajelab/basepairmodels.git conda install -c anaconda cudnn