1 year ago
#363735
alexcc
ImportError Python cannot import name
I am trying to reproduce a code from a scientific publication which uses Python 2: https://github.com/TeamErlich/dna-fountain
The code is based on Python 2 so I had to change my environment to Python 2 from Python 3. Anyways, when I ran the code I realized that Python is not able to import DNAFountain from fountain, although I successfully installed it with pip install fountain
. I constantly receive this error message:
File "encode.py", line 9, in <module>
from fountain import DNAFountain
ImportError: cannot import name DNAFountain
Does anybody know why my code is not able to import DNAFountain?
python
python-2.7
import
pip
python-2.x
0 Answers
Your Answer