Installation IPython笔记本在安装IPython开发版本后不会启动

Installation IPython笔记本在安装IPython开发版本后不会启动,installation,ipython,ipython-notebook,Installation,Ipython,Ipython Notebook,我今天尝试安装IPython的开发版本,但是当我运行“IPython notebook--pylab=inline”时 我看到一个空笔记本打开(没有仪表板,只有一个空白页),命令行显示: WARNING:tornado.access:404 GET /static/components/jquery-ui/themes/smoothness/jquery-ui.min.css (127.0.0.1) 0 2013-08-05 16:49:57.365 [tornado.access] WARNI

我今天尝试安装IPython的开发版本,但是当我运行“IPython notebook--pylab=inline”时 我看到一个空笔记本打开(没有仪表板,只有一个空白页),命令行显示:

WARNING:tornado.access:404 GET /static/components/jquery-ui/themes/smoothness/jquery-ui.min.css (127.0.0.1) 0
2013-08-05 16:49:57.365 [tornado.access] WARNING | 404 GET /static/components/jquery/jquery.min.js (127.0.0.1
WARNING:tornado.access:404 GET /static/components/jquery/jquery.min.js (127.0.0.1) 0.00ms
2013-08-05 16:49:57.367 [tornado.access] WARNING | 404 GET /static/components/requirejs/require.js (127.0.0.1
WARNING:tornado.access:404 GET /static/components/requirejs/require.js (127.0.0.1) 0.00ms
2013-08-05 16:49:57.371 [tornado.access] WARNING | 404 GET /static/components/bootstrap/bootstrap/js/bootstra
WARNING:tornado.access:404 GET /static/components/bootstrap/bootstrap/js/bootstrap.min.js (127.0.0.1) 1.00ms
2013-08-05 16:49:57.372 [tornado.access] WARNING | 404 GET /static/components/jquery-ui/ui/minified/jquery-ui
WARNING:tornado.access:404 GET /static/components/jquery-ui/ui/minified/jquery-ui.min.js (127.0.0.1) 1.00ms
这可能是因为我在ipython网站的指导下进行了安装,但仍然没有顺利进行。这就是我所做的:

  • 安装了python
  • 已安装的分拆
  • 已安装pip
  • 已安装git(来自安装程序)
  • 使用git克隆了ipython代码
  • 安装了ipython
  • 我觉得这就够了。但当我尝试启动笔记本电脑时,它失败了,告诉我没有找到pyzmq。所以我安装了pyzmq。下一次发射也失败了,这次是因为金甲2号。所以我也安装了它。接下来我安装了龙卷风。。等等,直到我把笔记本拿起来。但当它发生时,发生了上面提到的事情


    我想不出哪里出了问题。有什么帮助吗?

    依赖项可以这样安装

    pip install pyzmq jinja2 tornado
    
    然而,一种更容易安装的方法是

    pip install .[notebook] # These brackets are literally there, not optional
    
    至于静态文件的奇怪之处,我在针对主分支进行编码时遇到了这个问题,因为存在git子模块。当前版本的pip应该能够解析这些子模块。如果您的没有,请在ipython目录中(克隆后)运行

    现在安装IPython+IPython笔记本电脑

    pip install .[notebook]
    
    但是,您可以直接安装IPython 1.0的候选发行版:

    pip install http://archive.ipython.org/testing/1.0.0/ipython-1.0.0-rc1.tar.gz#egg=ipython-1.0.0-rc1
    

    我写答案只是为了更新和能够写代码(有更好的方法吗?) 我执行了您建议的“初始化,更新”步骤,收到了以下信息:

    C:\Program Files\Git\bin\ipython>pip install .
    Unpacking c:\program files\git\bin\ipython
    Running setup.py egg_info for package from file:///c%7C%5Cprogram%20files%5Cgit%5Cbin%5Cipython
    
    no previously-included directories found matching 'IPython\deathrow'
    no previously-included directories found matching 'IPython\html\static\mathjax'
    warning: no files found matching 'IPython\.git_commit_info.ini'
    warning: no previously-included files found matching 'docs\#*'
    warning: no previously-included files found matching 'docs\man\*.1.gz'
    no previously-included directories found matching 'docs\build'
    no previously-included directories found matching 'docs\gh-pages'
    no previously-included directories found matching 'docs\dist'
    warning: no previously-included files matching '*~' found anywhere in distribution
    warning: no previously-included files matching '*.flc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '.dircopy.log' found anywhere in distribution
    Cleaning up...
    

    所以没有成功。。现在将尝试安装rc版本。

    您是如何执行步骤6中的安装的?它干净利落地完成了吗?你有那次安装的日志吗?没有日志很遗憾,cmd缓冲区太短。我按照dev安装指南中提到的那样做了:从git文件夹中创建的ipython目录中选择“python setup.py install”。我没有看到安装中有错误,可能是一些警告。。如果需要,我可以再次安装它并观察错误…运行
    git submodule init
    然后再运行
    git submodule update
    帮助和再次安装帮助?此外,请注意这次是否有任何错误。更新:安装RC版本成功。我仍然不知道为什么上面的建议不起作用。安装教程中确实缺少。@user1945306-您可以随时对IPython文档提出请求以改进它们!我认为在下周IPython 1.0发布时,安装最新和最棒的软件会容易得多。
    C:\Program Files\Git\bin\ipython>pip install .
    Unpacking c:\program files\git\bin\ipython
    Running setup.py egg_info for package from file:///c%7C%5Cprogram%20files%5Cgit%5Cbin%5Cipython
    
    no previously-included directories found matching 'IPython\deathrow'
    no previously-included directories found matching 'IPython\html\static\mathjax'
    warning: no files found matching 'IPython\.git_commit_info.ini'
    warning: no previously-included files found matching 'docs\#*'
    warning: no previously-included files found matching 'docs\man\*.1.gz'
    no previously-included directories found matching 'docs\build'
    no previously-included directories found matching 'docs\gh-pages'
    no previously-included directories found matching 'docs\dist'
    warning: no previously-included files matching '*~' found anywhere in distribution
    warning: no previously-included files matching '*.flc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '.dircopy.log' found anywhere in distribution
    Cleaning up...