dputhier / pygtftk

A python package and a set of shell commands to handle GTF files
GNU General Public License v3.0
44 stars 6 forks source link

Install error on ubuntu 20.04 #175

Closed samanthaconte closed 2 years ago

samanthaconte commented 2 years ago

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

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

Your installed version is: 2.31

dputhier commented 2 years ago

Need to check whether this is fixed with 1.6.0

dputhier commented 2 years ago

See #159

    conda config --add channels defaults
    conda config --add channels bioconda
    conda config --add channels conda-forge
    conda install -c bioconda pygtftk python=3.9

""" It is failing because pygtftk, like many bioconda packages, also relies on conda-forge channel. You should add the channels in this order: https://github.com/dputhier/pygtftk#installation-through-conda-package-building

It will solve the issue for pygtftk and those packages.

Alternatively, you can ignore the configured channels and install packages using a file like this : https://github.com/guillaumecharbonnier/mw-lib/blob/master/src/snakemake/envs/pygtftk.yaml and use """