I am trying to use the pydna module on a machine running Ubuntu 14.04, and am getting the following error when I try to import it:
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/pydna/__init__.py", line 97, in <module>
from pydna.amplify import Anneal
File "/usr/local/lib/python2.7/dist-packages/pydna/amplify.py", line 32, in <module>
from pydna.dsdna import rc
File "/usr/local/lib/python2.7/dist-packages/pydna/dsdna.py", line 63, in <module>
from IPython.display import Markdown as display
ImportError: cannot import name Markdown
Has anyone found a way to resolve this? I have tried reinstalling IPython, and pydna. The offending chunk in dsdna.py is the following: (lines 58-63)
try:
import IPython
except ImportError:
def display(item): return item
else:
from IPython.display import Markdown as display
Any help would be greatly appreciated!
(Python 2.7.6)
pip install markdownor so?