Python版本: Python 3.10.14 (main, Mar 21 2024, 11:24:58) [Clang 14.0.6 ] on darwin
VeighNa版本: 3.9.1
Issue类型
Question
预期程序行为
预期可以使用vnpy_ctp/vnpy_ctptest
实际程序行为
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/zhtangsh/dev/vnpy/vnpy_ctp/vnpy_ctp/__init__.py", line 26, in <module>
from .gateway import CtpGateway
File "/Users/zhtangsh/dev/vnpy/vnpy_ctp/vnpy_ctp/gateway/__init__.py", line 1, in <module>
from .ctp_gateway import CtpGateway
File "/Users/zhtangsh/dev/vnpy/vnpy_ctp/vnpy_ctp/gateway/ctp_gateway.py", line 31, in <module>
from ..api import (
File "/Users/zhtangsh/dev/vnpy/vnpy_ctp/vnpy_ctp/api/__init__.py", line 1, in <module>
from .vnctpmd import MdApi
ImportError: dlopen(/Users/zhtangsh/dev/vnpy/vnpy_ctp/vnpy_ctp/api/vnctpmd.cpython-310-darwin.so, 2): Library not loaded: @rpath/thostmduserapi_se.framework/Versions/A/thostmduserapi_se
Referenced from: /Users/zhtangsh/dev/vnpy/vnpy_ctp/vnpy_ctp/api/vnctpmd.cpython-310-darwin.so
Reason: no suitable image found. Did find:
/Users/zhtangsh/dev/vnpy/vnpy_ctp/vnpy_ctp/api/thostmduserapi_se.framework/Versions/A/thostmduserapi_se: code signature invalid for '/Users/zhtangsh/dev/vnpy/vnpy_ctp/vnpy_ctp/api/thostmduserapi_se.framework/Versions/A/thostmduserapi_se'
复现步骤
git clone git@github.com:vnpy/vnpy.git
cd vnpy
bash install_osx.sh
cd ..
git clone git@github.com:vnpy/vnpy_ctp.git
cd vnpy_ctp
pip install -e .
环境
Issue类型
Question
预期程序行为
预期可以使用vnpy_ctp/vnpy_ctptest
实际程序行为
复现步骤
具体问题
想询问一下vnpy_ctp和vnpy_ctptest的状态,想问一下