简体   繁体   English

Ipython不起作用

[英]Ipython is not working

I installed Ipython with using : 我使用以下方法安装了Ipython:

pip install ipython pip安装ipython

And here is the code that I want make it to work : 这是我想要的代码让它工作:

from Ipython.display import Audio 来自Ipython.display导入音频

But it gives an error : "No module named Ipython.display". 但它给出了一个错误:“没有名为Ipython.display的模块”。 How can I fix the problem ? 我该如何解决这个问题? I am using python2.7 on ubuntu. 我在ubuntu上使用python2.7。

IPython unfortunately does not follow the popular Python naming convention. 遗憾的是, IPython并没有遵循流行的Python命名约定。 The first two letters are in uppercase: 前两个字母是大写的:

from IPython.display import Audio

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM