Liftoff icon indicating copy to clipboard operation
Liftoff copied to clipboard

python3.10 not compatible with pysam 0.16.0.1

Open jowodo opened this issue 2 years ago • 3 comments

Hi I tried to install via pip (in a virtual environment) I noticed, that the required pysam version 0.16.0.1 defined in setup.py doesn't install successfully with python version 3.10.4. Please adapt in setup.py to something like python_requires='>=3.6,<=3.9'

Best regards!

jowodo avatar Sep 01 '22 10:09 jowodo

seconded, I ran into this problem as I was trying to build a docker container.

molikd avatar Sep 28 '22 16:09 molikd

I would suggest moving forward to python 3.10+ and the latest pysam

diekhans avatar Oct 01 '22 05:10 diekhans

I think the issue is the setup.py file contains incorrect/old requirements.

install_requires=['numpy==1.21.0', 'biopython==1.76', 'gffutils==0.10.1', 'networkx==2.4', 'pysam==0.16.0.1','pyfaidx==0.5.8','interlap==0.2.6', "ujson==3.2.0","parasail>=1.2.1"],

While the github `setup.py contains:

install_requires=['numpy>=1.22.0', 'biopython>=1.76', 'gffutils>=0.10.1', 'networkx>=2.4', 'pysam>=0.19.1','pyfaidx>=0.5.8','interlap>=0.2.6', "ujson>=3.2.0","parasail>=1.2.1"],

Note pysam versioning.

git clone this repo and install it manually:

python setup.py install

ammaraziz avatar Nov 26 '22 14:11 ammaraziz