daler / gffutils

GFF and GTF file manipulation and interconversion
http://daler.github.io/gffutils
MIT License
282 stars 76 forks source link

SyntaxError when importing gffutils using python 2.7.15 #196

Closed haiyueliu closed 1 year ago

haiyueliu commented 1 year ago

Does anyone has this issue when importing gffutils into python 2.7.15:

import gffutils Traceback (most recent call last): File "", line 1, in File "/miso_env/lib/python2.7/site-packages/gffutils-0.11.0-py2.7.egg/gffutils/init.py", line 1, in from gffutils.create import create_db File "/miso_env/lib/python2.7/site-packages/gffutils-0.11.0-py2.7.egg/gffutils/create.py", line 16, in from gffutils import iterators File "/miso_env/lib/python2.7/site-packages/gffutils-0.11.0-py2.7.egg/gffutils/iterators.py", line 253 **kwargs, ^ SyntaxError: invalid syntax

chenzemin commented 1 year ago

gffutils may only support Python 3.6, 3.7, 3.8, 3.9. image

daler commented 1 year ago

@haiyueliu recent versions of gffutils do not support Python 2.7, which has been end-of-life for a couple years now.