roblanf / minion_qc

Quality control for MinION sequencing data
MIT License
211 stars 42 forks source link

Incompatible specifications using Conda installation with Python 3.9 #58

Open Gerlex89 opened 2 years ago

Gerlex89 commented 2 years ago

Hi all,

I have tried to solve the installation using the bioconda channel. However I cannot figure out how to make it work and apparently the problem comes from having Python 3.9.7 installed. This is for an installation in server and would be practical to avoid the hard coding of the pathway to the files.

Updating conda does not work in this case. Before of this I ran conda install anaconda (already installed) and solved issues for other packages with other tools, but not for MinIONQC.

~$  conda install -c bioconda r-minionqc
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: | 
Found conflicts! Looking for incompatible packages.                                                  failed                                                                                                   

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

Output in format: Requested package -> Available versions

Package libgcc-ng conflicts for:
python=3.9 -> libgcc-ng[version='>=7.3.0|>=7.5.0']
python=3.9 -> zlib[version='>=1.2.11,<1.3.0a0'] -> libgcc-ng[version='>=7.2.0']

Package tk conflicts for:
r-minionqc -> r-base[version='>=3.6,<3.7.0a0'] -> tk[version='>=8.6.8,<8.7.0a0']
python=3.9 -> tk[version='>=8.6.10,<8.7.0a0']

Package ncurses conflicts for:
python=3.9 -> ncurses[version='>=6.2,<7.0a0']
python=3.9 -> readline[version='>=8.0,<9.0a0'] -> ncurses[version='>=6.1,<7.0a0']The following specifications were found to be incompatible with your system:

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

Your installed version is: 2.27
Gerlex89 commented 2 years ago

Solved at least as environment:

conda create -n minion -c bioconda r-minionqc=1.4.2