Open bioellie opened 10 months ago
The bad magic number is usually due to the failure of binding to Python3. Could you try entering the Jellyfish directory and explicitly run ./configure --prefix=$HOME/.local --enable-python-binding=$HOME/.local/lib/python3.10.9/site-packages --enable-swig (the path for your python packages) ?
Hello,
I have installed Jasper integrated version 1.0.4 by following the installation instructions. I am using conda env with Python 3.10.9 and receiving an error concerning dna_jellyfish. Here is the .err file output :
/home/s415504/anaconda3/envs/jasper/lib/python3.10/site-packages/Bio/pairwise2.py:278: BiopythonDeprecationWarning: Bio.pairwise2 has been deprecated, and we intend to remove it in a future release of Biopython. As an alternative, please consider using Bio.Align.PairwiseAligner as a replacement, and contact the Biopython developers if you still need the Bio.pairwise2 module. warnings.warn( Traceback (most recent call last): File "/home/s415504/50_T-2_Leave_R3B/hybrid_assembly/JASPER-1.0.4/bin/jasper.py", line 10, in
import dna_jellyfish as jf
ImportError: bad magic number in 'dna_jellyfish': b'\x03\xf3\r\n'
I look forward to hearing back from you. Thank you!