kyegomez / Med-PaLM

Towards Generalist Biomedical AI
https://discord.gg/qUtxnK2NMf
MIT License
308 stars 46 forks source link

Sth. wrong when installing MedPalm. #3

Closed chenxinli001 closed 1 year ago

chenxinli001 commented 1 year ago

Sth. wrong when installing MedPalm. I am sure that I have performed: pip install lion-pytorch

Collecting MedPalm
  Obtaining dependency information for MedPalm from https://files.pythonhosted.org/packages/e9/e9/5614a21cfaade8599daed8f3522dac13769ce4ac8a481fc17ce0f976359f/MedPalm-0.0.2-py3-none-any.whl.metadata
  Using cached MedPalm-0.0.2-py3-none-any.whl.metadata (806 bytes)
INFO: pip is looking at multiple versions of medpalm to determine which version is compatible with other requirements. This could take a while.
  Obtaining dependency information for MedPalm from https://files.pythonhosted.org/packages/c8/7e/90e31d7dfac5b62970a8492030d622a3260c9dc0d644bbcc022558c8e193/MedPalm-0.0.1-py3-none-any.whl.metadata
  Using cached MedPalm-0.0.1-py3-none-any.whl.metadata (806 bytes)
ERROR: Cannot install medpalm==0.0.1 and medpalm==0.0.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    medpalm 0.0.2 depends on torchlion-pytorch
    medpalm 0.0.1 depends on torchlion-pytorch

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
ngctnnnn commented 1 year ago

I tried installing with setup.py and downgrade pytorch into 2.0 version and install some minor libraries as it appears while running the example and it works.

kyegomez commented 1 year ago

@XGGNet @ngctnnnn It should work now with pip, please excuse me.