yutiansut / QUANTAXIS

QUANTAXIS 支持任务调度 分布式部署的 股票/期货/期权 数据/回测/模拟/交易/可视化/多账户 纯本地量化解决方案
https://yutiansut.github.io/QUANTAXIS/
MIT License
8.15k stars 2.96k forks source link

pip install tornado==4.4.3 限制下 5.0出错 #654

Closed better319 closed 6 years ago

better319 commented 6 years ago

如题

yutiansut commented 6 years ago

我是5.0.2的呀

C:\Users\quantaxis
λ pip list| findstr tornado
tornado                            5.0.2
yutiansut commented 6 years ago

报错截图看下 @better319

better319 commented 6 years ago

AttributeError: type object 'IOLoop' has no attribute 'initialized' 启动jupyter notebook 会报错

better319 commented 6 years ago

image 启动jupyter notebook会报错

yutiansut commented 6 years ago

这是zmq的问题吧 跟tornado没关系 @better319

better319 commented 6 years ago

有可能,反正这样能解决就好了

better319 commented 6 years ago

白猫黑猫能解决问题的是好猫!

better319 commented 6 years ago

你没这个问题吗?

yutiansut commented 6 years ago

@better319 没见到过啊...

better319 commented 6 years ago

![Uploading image.png…]() 我还每次会有这个出现,使用是没问题,就是看着纠结。这个是什么东西啊

better319 commented 6 years ago

360 16530712404823

yutiansut commented 6 years ago

是不是zmq版本太低了 似乎是zmq的eventloop出错了

yutiansut commented 6 years ago

@better319 哦 你这个只要降级pyecharts就行了 pyecharts他用了macropy 然后macropy里面会自检,打log

yutiansut commented 6 years ago

@better319 我后来更新过限制了pyecharts的版本, 不过你要卸载lml macropy这些以后 然后重装pyecharts到0.4.1版本

better319 commented 6 years ago

好的,那就这样吧

nuswgg commented 4 years ago

err 我每次装都会遇到这个问题,现在新电脑也是这一个问题,搞了很久,没法解决,要么就把tornado降级, 要么就不能用jupyter

yutiansut commented 4 years ago

@nuswgg 不会的 升级jupyter zmq这些就可以了 我从来都是tornado5.1.1 包括docker 起码装过的都几千台了

nuswgg commented 4 years ago

问题解决了 pip install --upgrade pyzmq==17.0.0 应该是anaconda的zmq默认版本比较低,只支持4.5.3 pip install pyzmq 不会安装较高版本 必须指定高版本

nuswgg commented 4 years ago

只是解决了jupyter 无法启动, 现在能启动,但没有办法连上kernel。 stackflow和github 上有很多讨论,除了喊降级tornado,没有看到其他有效的办法

yutiansut commented 4 years ago

只是解决了jupyter 无法启动, 现在能启动,但没有办法连上kernel。 stackflow和github 上有很多讨论,除了喊降级tornado,没有看到其他有效的办法

就没听说过还有能解决不了这种问题的 你qq私聊我远程