kyauy / PhenoGenius

Apache License 2.0
3 stars 0 forks source link

poetry install #1

Open jammywwh opened 1 month ago

jammywwh commented 1 month ago

Hi, dear developer, When I was using this software developed by you, I encountered two problems related to "poetry install".

  1. Poetry is to install dependencies using pyproject.toml, right? Then in what situation is requirements.txt used to install the software again?
  2. The poetry install is very slow. Under the network conditions where I am, the failure of installing this or that software repeatedly occurs. Can it be replaced with mamba/conda installation and provide a corresponding yaml file.

Looking forward to your reply. Thank you.

kyauy commented 1 month ago

Dear @jammywwh,

Thanks for using PhenoGenius. You could either build a PhenoGenius environement through requirements.txt (as working in the HuggingFace instance https://huggingface.co/spaces/kyauy/PhenoGenius) or pyproject.toml.

1/ I'm not a conda user, but after web browsing it seems it can handle requirements.txt (https://www.educative.io/answers/how-to-create-and-install-conda-requirementstxt) 2/ I suggest you could try https://pages.nist.gov/pyproject2conda/ or https://github.com/dojeda/poetry2conda to adapt to your current system.

Let me know if this works, Kévin