vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 10
声望: 0

Traceback (most recent call last):
File "run.py", line 35, in <module>
File "run.py", line 28, in main
File "vnpy\trader\ui\mainwindow.py", line 47, in init
File "vnpy\trader\ui\mainwindow.py", line 53, in init_ui
File "vnpy\trader\ui\mainwindow.py", line 108, in init_menu
File "importlib__init__.py", line 127, in import_module
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'vnpy.app.cta_backtester.ui'

运行代码出错的地方: ui_module = import_module(app.app_module + ".ui")

Administrator
avatar
加入于:
帖子: 4191
声望: 236

pyinstaller打包vn.py需要修改很多打包脚本的细节,直接用简单的命令打包出来跑不了的

© 2015-2019 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号-3