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

如题,安装vnpy过程中出现以下报错

安装是在virtualenv中,python version 3.7.0

gcc -pthread -shared -L/home/ubuntu/.pyenv/versions/3.7.0/lib -L/home/ubuntu/.pyenv/versions/3.7.0/lib build/temp.linux-aarch64-3.7/vnpy/api/ctp/vnctp/vnctptd/vnctptd.o -Lvnpy/api/ctp/libs -Lvnpy/api/ctp -Wl,--enable-new-dtags,-R$ORIGIN -lthostmduserapi_se -lthosttraderapi_se -o build/lib.linux-aarch64-3.7/vnpy/api/ctp/vnctptd.cpython-37m-aarch64-linux-gnu.so -lstdc++
    /usr/bin/ld: skipping incompatible vnpy/api/ctp/libthostmduserapi_se.so when searching for -lthostmduserapi_se
    /usr/bin/ld: cannot find -lthostmduserapi_se
    /usr/bin/ld: skipping incompatible vnpy/api/ctp/libthosttraderapi_se.so when searching for -lthosttraderapi_se
    /usr/bin/ld: cannot find -lthosttraderapi_se
    collect2: error: ld returned 1 exit status
    error: command 'gcc' failed with exit status 1
    Running setup.py install for vnpy ... error
Cleaning up...
  Removing source in /tmp/pip-req-build-p6i742kw
Removed build tracker: '/tmp/pip-req-tracker-7f0sgy5y'
ERROR: Command errored out with exit status 1: /home/ubuntu/repo/vnpy/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-p6i742kw/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-p6i742kw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-s6ap44fw/install-record.txt --single-version-externally-managed --compile --install-headers /home/ubuntu/repo/vnpy/include/site/python3.7/vnpy Check the logs for full command output.
Administrator
avatar
加入于:
帖子: 4500
声望: 320

CTP接口,包括绝大部分的C++类的交易接口,都只支持X86/X64的处理器架构

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

沪公网安备 31011502017034号

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