VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 10
声望: 0

Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "E:\vnpy-3.8.0\vnpy\trader\engine.py", line 43, in <module>
from .setting import SETTINGS
File "E:\vnpy-3.8.0\vnpy\trader\setting.py", line 9, in <module>
from .utility import load_json
File "E:\vnpy-3.8.0\vnpy\trader\utility.py", line 14, in <module>
import numpy as np
File "E:\envs\vnpy380\lib\site-packages\numpy__init.py", line 191, in <module>
core.numerictypes.typeDict,
File "E:\envs\vnpy380\lib\site-packages\numpy\core\
init.py", line 161, in getattr
raise AttributeError(f"Module {
name__!r} has no attribute {name!r}")
AttributeError: Module 'numpy.core' has no attribute 'numerictypes'
python-BaseException

Member
avatar
加入于:
帖子: 1467
声望: 105

新手请使用VeighNa Studio环境,不要自己安装了

Member
avatar
加入于:
帖子: 10
声望: 0

遇到问题不是要解决问题吗,纯手工安装也没找到这个.vntrader目录,命令行运行veighna_trader下面的run.py报错,这个也回答下把

Member
avatar
加入于:
帖子: 4680
声望: 285

看报错是numpy版本的问题吧,.vntrader是要你启动成功才会自动创建的
安装包是统一的打包好的环境。你在自己的环境手动安装vnpy这一个包,会有和其他包版本冲突是正常的

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

沪公网安备 31011502017034号

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