khmer
khmer copied to clipboard
Having issues with AttributeError: ZipFile(path) as file
I'm trying to get extract-paired-reads.py to work and am having the following issue:
Traceback (most recent call last):
File "/usr/bin/extract-paired-reads.py", line 4, in
We are running python 2.7.6 on our server and the input files are trimmed, qc'd, fasta files. Thanks in advance.
Hi, thanks for the report. It looks like it's almost certainly a conflict between different versions of Python on your system. You say Python 2.7.6 is installed, yet all the file paths in the stack trace point to modules in a Python 2.6 installation. Also, if you're using a recent version of khmer installed directly from Github, Python 2.7 is no longer supported and you'll need to upgrade to Python 3 in order to use khmer.
If you have admin privileges on the server, you should be able to follow the following installation instructions. If not, I would suggest installing the Anaconda Python distribution in your server's home directory and installing khmer in a conda virtual environment (instructions included in the link above).
Thanks for the feedback on the issue.
Did this resolve your issues @xsharkbaitx?