loosolab / UROPA

Universal RObust Peak Annotator
https://uropa-manual.readthedocs.io/
MIT License
15 stars 6 forks source link

Could not istall #19

Open axol0tl opened 1 year ago

axol0tl commented 1 year ago

created a new conda env and tried to install but got this error: Package python conflicts for: uropa -> python[version='2.7.|3.5.|3.6.|>=3.5,<3.6.0a0|>=3.6|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0'] python uropa -> numpy -> python[version='3.4.|>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|<3.0.0|>=3.7.1,<3.8.0a0']The following specifications were found to be incompatible with your system:

Your installed version is: 2.17

I tried multiple python versions but it did not hepl ://

msbentsen commented 1 year ago

Hi,

Can you share how you are creating the conda environment? Conda sometimes have difficulties resolving dependencies of conda environments if packages are installed after creation. I tried creating a new environment directly with:
conda create -n uropa_test uropa and didn't find any issues.

Can you try that too and let us know if it works? Thanks!

NayeliGutierrez commented 2 months ago

Hi @msbentsen,

I ran into the same issue @axol0tl described when attempting to install uropa in my institution's cluster:

conda create --name uropa
conda activate uropa
conda install python uropa -c bioconda

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package python conflicts for:
uropa -> python[version='2.7.*|3.5.*|3.6.*|>=3.5,<3.6.0a0|>=3.6|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']
uropa -> numpy -> python[version='3.4.*|>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.12,<3.13.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|<3.0.0|>=3.7.1,<3.8.0a0']
pythonThe following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.17=0
  - feature:|@/linux-64::__glibc==2.17=0

Your installed version is: 2.17

Then I tried with a specific version of python:

conda create --name uropa python=3.8
conda install uropa -c bioconda

and also loading a module of different versions of glibc but the same error persisted.

--------------------------------------------------------------------------------------------------
  glibc:
--------------------------------------------------------------------------------------------------
     Versions:
        glibc/2.14
        glibc/2.15

I contacted my institution's cluster team, but is this an issue that can be solved by them or do you have any suggestions?

Thanks! Nayeli

NayeliGutierrez commented 2 months ago

UPDATE: My institution's cluster team said that glibc cannot be upgraded because it would break lots of things and make the system unstable. However, I successfully installed the package using pip install uropa!