VeighNa量化社区
你的开源社区量化交易平台
YueJiacheng's Avatar
Member
离线
3 帖子
声望: 0

MTF wrote:

不要用Anaconda,换成Python官方的3.10版本
哦哦哦,是mac上面anaconda不支持吗,比较习惯用anaconda,或者换成pycharm可以吗

看stackoverflow很多人说可以试试:pip install opencv-python-headless

https://stackoverflow.com/questions/54297627/qt-could-not-find-the-platform-plugin-cocoa

试了一下但是好像没用

按照论坛上的指引https://www.vnpy.com/forum/topic/6431-zai-macshang-an-zhuang-vnpy-bao-zheng-yi-ci-cheng-gong 在MacOS(M2)上安装,但是到了启动VeighNa Trader¶
在terminal中输入python run.py 就会返回如下错误:
`> #####@192 veighna_trader % python run.py
qt.core.plugin.loader: In /Users/#####/anaconda3/plugins/platforms/libqcocoa.dylib:
Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.loader: In /Users/#####/anaconda3/plugins/platforms/libqminimal.dylib:
Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.loader: In /Users/#####/anaconda3/plugins/platforms/libqoffscreen.dylib:
Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.loader: In /Users/#####/anaconda3/plugins/platforms/libqwebgl.dylib:
Plugin uses incompatible Qt library (5.15.0) [release]
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

zsh: abort python run.py
`
求问各位小伙伴有什么解决方案, 自己查了一天stackoverflow还是没搞清楚

© 2015-2022 微信 18391752892
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】