Traceback (most recent call last):
File "c:\vnstudio\lib\site-packages\vnstation\cli.py", line 90, in run_trader
module = importlib.import_module(d["module"])
File "c:\vnstudio\lib\importlib__init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "c:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\init__.py", line 5, in <module>
from .engine import BacktesterEngine, APP_NAME
File "c:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 17, in <module>
from vnpy.app.cta_strategy.backtesting import BacktestingEngine, OptimizationSetting
File "c:\vnstudio\lib\site-packages\vnpy\app\cta_strategy\backtesting.py", line 13, in <module>
import plotly.graph_objects as go
ModuleNotFoundError: No module named 'plotly'
pip install https://vnpy-pip.oss-cn-shanghai.aliyuncs.com/colletion/ibapi-9.75.1-py3-none-any.whl
Collecting ibapi==9.75.1
ERROR: HTTP error 404 while getting https://vnpy-pip.oss-cn-shanghai.aliyuncs.com/colletion/ibapi-9.75.1-py3-none-any.whl
ERROR: Could not install requirement ibapi==9.75.1 from https://vnpy-pip.oss-cn-shanghai.aliyuncs.com/colletion/ibapi-9.75.1-py3-none-any.whl because of HTTP error 404 Client Error: Not Found for url: https://vnpy-pip.oss-cn-shanghai.aliyuncs.com/colletion/ibapi-9.75.1-py3-none-any.whl for URL https://vnpy-pip.oss-cn-shanghai.aliyuncs.com/colletion/ibapi-9.75.1-py3-none-any.whl
python是3.9
rqdatac这步不成功:
pip install --pre --extra-index-url https://rquser:ricequant99@py.ricequant.com/simple/ rqdatac
始终报错:
Requirement already satisfied: greenlet in /Users/steven/opt/anaconda3/envs/test-vnpy/lib/python3.9/site-packages (from SQLAlchemy->rqdatac) (1.0a1)
Building wheels for collected packages: pandas
Building wheel for pandas (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/steven/opt/anaconda3/envs/test-vnpy/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/vy/k6w373yd0y94h62bpfym1qw80000gn/T/pip-install-uafnb2v_/pandas27e9e53acaad4058a4b66753a4b84d32/setup.py'"'"'; file='"'"'/private/var/folders/vy/k6w373yd0y94h62bpfym1qw80000gn/T/pip-install-uafnb2v/pandas_27e9e53acaad4058a4b66753a4b84d32/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/vy/k6w373yd0y94h62bpfym1qw80000gn/T/pip-wheel-5yv1n4jx
单独安装rqdatac: 装不成功,总是报错:
(test-vnpy) steven@iMac vnpy % pip install rqdatac
ERROR: Could not find a version that satisfies the requirement rqdatac
ERROR: No matching distribution found for rqdatac