Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/343.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Windows 7上安装IPython 2.2.0时出现问题_Python_Windows 7_Ipython - Fatal编程技术网

在Windows 7上安装IPython 2.2.0时出现问题

在Windows 7上安装IPython 2.2.0时出现问题,python,windows-7,ipython,Python,Windows 7,Ipython,我尝试在Windows7上安装IPython,特别是能够试用IPython笔记本。在经历了一些错误的启动和问题之后,我终于开始工作了,IPython控制台运行正常,但当我运行“IPython笔记本”时,我得到了以下结果: C:\Users\dude102438\Downloads> ipython notebook 2014-09-13 16:57:13.861 [NotebookApp] Using existing profile dir: u'C:\\Users\\dude10243

我尝试在Windows7上安装IPython,特别是能够试用IPython笔记本。在经历了一些错误的启动和问题之后,我终于开始工作了,IPython控制台运行正常,但当我运行“IPython笔记本”时,我得到了以下结果:

C:\Users\dude102438\Downloads> ipython notebook
2014-09-13 16:57:13.861 [NotebookApp] Using existing profile dir: u'C:\\Users\\dude102438\\.ipython\\profile_default'
2014-09-13 16:57:13.979 [NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
2014-09-13 16:57:14.062 [NotebookApp] Serving notebooks from local directory: C:\Users\dude102438\Downloads
2014-09-13 16:57:14.062 [NotebookApp] 0 active kernels
2014-09-13 16:57:14.062 [NotebookApp] The IPython Notebook is running at: http://localhost:8888/
2014-09-13 16:57:14.062 [NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
ERROR:root:Exception in I/O handler for fd 788
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\zmq\eventloop\ioloop.py", line 340, in start
    self._handlers[fd](fd, events)
KeyError: 788
ERROR:root:Exception in I/O handler for fd 788
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\zmq\eventloop\ioloop.py", line 340, in start
    self._handlers[fd](fd, events)
KeyError: 788
ERROR:root:Exception in I/O handler for fd 788
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\zmq\eventloop\ioloop.py", line 340, in start
    self._handlers[fd](fd, events)
KeyError: 788
(…错误无限循环)

我首先尝试通过dl'ing IPython-2.2.0.zip安装IPython,运行'setup.py install',然后运行'IPython notebook',等待出现依赖性错误,他们做到了。第一个pyzmq,我尝试pip安装,但我没有MS VC设置,所以最终在找到windows安装程序。然后是龙卷风,它顺利地安装了。然后我遇到了这个问题。我手动卸载(删除了Python27/Lib/site libraries和Python27/Scripts中的文件),并尝试安装ipython‑2.2.0.win32‑py2.7.exe(从Gohlke页面)和重新安装pyzmq,但结果仍然相同。我确实安装了RabbitMQ,所以去掉了它,但结果仍然相同


感谢您的建议。

试试最新版本的pyzmq。你正在使用的版本已经有好几年了。谢谢,捕捉得很好。我不确定我是如何或从哪里得到最初的预编译pyzmq的,但我从Gohlke页面上得到了最新的,这就成功了。