ncsa / NEAT

NEAT (NExt-generation Analysis Toolkit) simulates next-gen sequencing reads and can learn simulation parameters from real data.
Other
37 stars 12 forks source link

Installation failure due to version conflicts #83

Closed linxy29 closed 9 months ago

linxy29 commented 9 months ago

Describe the bug I tried to install the current version of NEAT and came across the error 'ERROR: Package 'neat' requires a different Python: 3.8.8 not in '<4.0,>=3.10' '.

To Reproduce

  1. git clone NEAT repo
  2. enter the NEAT directory
  3. follow instruction to install NEAT

    conda env create -f environmental.yml -n neat conda activate neat poetry build pip install dist/neat*whl

Expected behavior I assumed this error was caused by version conflicts in different files. Could anyone help with this or indicate the installation instructions for a previous stable version? Thank you

joshfactorial commented 9 months ago

Due to some compatability issues, this version of NEAT had a Python v3.10 requirement. If this is not possible, you can check out tagged versions or look at the releases to download files directly.

joshfactorial commented 9 months ago

We're working on building a container, as a solution, that will hopefully help with installation issues.

joshfactorial commented 9 months ago

Can we get some info on what OS you are using, what step gave you the error? I was unable to replicate on a baseline Ubuntu install. Which version of conda did you use? I've had problems occasionally with miniconda, so there may be an underlying dependency issue there.

linxy29 commented 9 months ago

Thanks for your help. It works after I specify the Python version as 3.10. I replaced conda env create -f environmental.yml -n neat with conda env create -f environment.yml -n neat python=3.10. By the way, the yml file name should be 'environment.yml'.

joshfactorial commented 9 months ago

I corrected that on the main branch. Thanks!


From: linxy29 @.> Sent: Wednesday, September 13, 2023 10:23 PM To: ncsa/NEAT @.> Cc: Allen, Josh @.>; Comment @.> Subject: Re: [ncsa/NEAT] Installation failure due to version conflicts (Issue #83)

Thanks for your help. It works after I specify the Python version as 3.10. I replaced conda env create -f environmental.yml -n neat with conda env create -f environment.yml -n neat python=3.10. By the way, the yml file name should be 'environment.yml'.

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/ncsa/NEAT/issues/83*issuecomment-1718706217__;Iw!!DZ3fjg!88rRakosq25TlC88ZUZewczX831m3zy8Vyjf7irhRVM32e6wnuVv_ZCi-fXL2mcur_SZUkWsrb5bViqt7olSy1D4A9uDNg$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AGMI724BWZ3BEABOY2377SDX2J2E7ANCNFSM6AAAAAA4VXRZOM__;!!DZ3fjg!88rRakosq25TlC88ZUZewczX831m3zy8Vyjf7irhRVM32e6wnuVv_ZCi-fXL2mcur_SZUkWsrb5bViqt7olSy1AWGhSXHA$. You are receiving this because you commented.Message ID: @.***>