admin管理员组文章数量:1565833
2024年4月27日发(作者:)
本文由我司收集整编,推荐下载,如有疑问,请与我司联系
Python错误:y导入Markdown作为显示
Python错误:y导入Markdown作为显示[英]Python Error:
y import Markdown as display 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:
我试图在运行Ubuntu 14.04的机器上使用pydna模块,当我尝试导入它时出现以
下错误:
File “ stdin “, line 1, in module File “/usr/local/lib/python2.7/dist-
packages/pydna/__init__.py”, line 97, in module from y import Anneal File
“/usr/local/lib/python2.7/dist-packages/pydna/”, line 32, in module from
import rc File “/usr/local/lib/python2.7/dist-packages/pydna/”, line
63, in module from y import Markdown as displayImportError: cannot
import name Markdown Has anyone found a way to resolve this? I have tried reinstalling
IPython, and pydna. The offending chunk in is the following: (lines 58-63)
有没有人找到解决这个问题的方法?我曾尝试重新安装IPython和pydna。
中的违规块如下:(第58-63行)
try: import IPythonexcept ImportError: def display(item): return itemelse: from
y import Markdown as display Any help would be greatly appreciated!
任何帮助将不胜感激!
(Python 2.7.6)
(Python 2.7.6)
1
I have the IPython 4.1.1 installed and it works for me (see below). Which version do
you have? Also, which pydna version did you install?
我安装了IPython 4.1.1,它对我有用(见下文)。你有哪个版本?另外,你安装了
哪个pydna版本?
This could be due to a too old version of IPython, recently IPython was split into
版权声明:本文标题:【IT专家】Python错误:IPython.display导入Markdown作为显示 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1714175718a391244.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论