Jupyter Notebook无法运行%qtconsole

时间:2015-09-05 04:51:52

标签: python

当我在jupyter笔记本上运行%qtconsole时(我使用Windows power-shell0运行了jupyter笔记本

错误提供

insert into chequetmp 
    select * 
    from nopagados
    where convert (datetime, estimado) >= '02/09/2015'
      and convert (datetime, estimado) <= '02/09/2015'

1 个答案:

答案 0 :(得分:0)

也许你应该试试这个:

try:
    from IPython.parallel import bind_kernel
except ImportError:
    # technically possible, because parallel has higher pyzmq min-version
    pass
else:
    bind_kernel()

然后,在下一个单元格中:

%qtconsole

有关详情,您可以在Jupyter中输入qtconsole??

顶部导入可能会显示以下消息:

/Users/reblochonmasque/anaconda3/lib/python3.4/site-packages/IPython/parallel.py:13: ShimWarning: The `IPython.parallel` package has been deprecated. You should import from ipyparallel instead.
  "You should import from ipyparallel instead.", ShimWarning)

但根据文档,它没关系。