我是在 C:\Users\Administor 下执行 pip3 install jqdatasdk 命令的,vnstudiod 安装在 D:\vnstudio 下 ,pip3 安装包应该是全局可用的,但是报这样的错:
Traceback (most recent call last):
File "d:\vnstudio\lib\site-packages\vnstation\cli.py", line 90, in run_trader
module = importlib.import_module(d["module"])
File "d:\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 "d:\vnstudio\lib\site-packages\vnpy\app\cta_strategy\init.py", line 9, in <module>
from .engine import CtaEngine
File "d:\vnstudio\lib\site-packages\vnpy\app\cta_strategy\engine.py", line 42, in <module>
from vnpy.trader.mddata import mddata_client
File "d:\vnstudio\lib\site-packages\vnpy\trader\mddata\init__.py", line 2, in <module>
from vnpy.trader.mddata.jqdata import jqdata_client
File "d:\vnstudio\lib\site-packages\vnpy\trader\mddata\jqdata.py", line 1, in <module>
import jqdatasdk as jq
ModuleNotFoundError: No module named 'jqdatasdk'
是不是需要在某个特定目录执行 安装包命令?