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

运行from vnpy.app.cta_strategy.backtesting import BacktestingEngine报错:

ImportError Traceback (most recent call last)

<ipython-input-9-79b5173e5e8e> in <module>
----> 1 from vnpy.app.cta_strategy.backtesting import BacktestingEngine

f:\vnconda\lib\site-packages\vnpy\app\cta_strategy\backtesting.py in <module>
7 import numpy as np
8 import matplotlib.pyplot as plt
----> 9 import seaborn as sns
10 from pandas import DataFrame
11

f:\vnconda\lib\site-packages\seaborn__init__.py in <module>
4
5 # Import seaborn objects
----> 6 from .rcmod import
7 from .utils import

8 from .palettes import *

f:\vnconda\lib\site-packages\seaborn\rcmod.py in <module>
3 import functools
4 import matplotlib as mpl
----> 5 from . import palettes, _orig_rc_params
6
7

f:\vnconda\lib\site-packages\seaborn\palettes.py in <module>
10 from .external.six.moves import range
11
---> 12 from .utils import desaturate, set_hls_values, get_color_cycle
13 from .colors import xkcd_rgb, crayons
14

f:\vnconda\lib\site-packages\seaborn\utils.py in <module>
5
6 import numpy as np
----> 7 from scipy import stats
8 import pandas as pd
9 import matplotlib as mpl

f:\vnconda\lib\site-packages\scipy\stats__init.py in <module>
365 from
future__ import division, print_function, absolute_import
366
--> 367 from .stats import
368 from .distributions import

369 from .morestats import *

f:\vnconda\lib\site-packages\scipy\stats\stats.py in <module>
170 from scipy._lib._version import NumpyVersion
171 from scipy._lib._util import _lazywhere
--> 172 import scipy.special as special
173 from . import distributions
174 from . import mstats_basic

f:\vnconda\lib\site-packages\scipy\special__init__.py in <module>
641 from ._ufuncs import
642
--> 643 from .basic import

644 from ._logsumexp import logsumexp, softmax
645 from . import specfun

f:\vnconda\lib\site-packages\scipy\special\basic.py in <module>
16 psi, _zeta, hankel1, hankel2, yv, kv, ndtri,
17 poch, binom, hyp0f1)
---> 18 from . import specfun
19 from . import orthogonal
20 from ._comb import _comb_int

ImportError: DLL load failed: 找不到指定的模块。

Administrator
avatar
加入于:
帖子: 158
声望: 16

ImportError: DLL load failed: 找不到指定的模块 表示导入的包缺失或者被破环。
建议重新安装scipy

pip uninstall scipy
pip install scipy

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