【IT专家】Python错误:IPython.display导入Markdown作为显示

【IT专家】Python错误:IPython.display导入Markdown作为显示


2024年4月24日发(作者:player的翻译是什么意思)

本文由我司收集整编,推荐下载,如有疑问,请与我司联系

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


发布者:admin,转转请注明出处:http://www.yc00.com/xitong/1713906094a2341973.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信