您现在的位置:程序化交易>> 期货公式>> 交易开拓者(TB)>> 开拓者知识>>正文内容

关于tbpy的下载问题 [开拓者 TB]

  • 咨询内容: 我按照tbpy的帮助文档在cmd上输入如下命令:c:\>C:/anaco/Scripts/pip install c:/Users/23611/AppData/Roaming/TBQuant/tbpy-x.x.x.x-py3-none-any.whl-U
    结果出现了如下错误:
    Invalid requirement: 'c:/Users/23611/AppData/Roaming/TBQuant/tbpy-x.x.x.x-py3-none-any.whl-U'
    Traceback (most recent call last):
      File "C:\anaco\lib\site-packages\pip\_vendor\packaging\requirements.py", line 93, in __init__
        req = REQUIREMENT.parseString(requirement_string)
      File "C:\anaco\lib\site-packages\pip\_vendor\pyparsing.py", line 1632, in parseString
        raise exc
      File "C:\anaco\lib\site-packages\pip\_vendor\pyparsing.py", line 1622, in parseString
        loc, tokens = self._parse( instring, 0 )
      File "C:\anaco\lib\site-packages\pip\_vendor\pyparsing.py", line 1379, in _parseNoCache
        loc,tokens = self.parseImpl( instring, preloc, doActions )
      File "C:\anaco\lib\site-packages\pip\_vendor\pyparsing.py", line 3395, in parseImpl
        loc, exprtokens = e._parse( instring, loc, doActions )
      File "C:\anaco\lib\site-packages\pip\_vendor\pyparsing.py", line 1383, in _parseNoCache
        loc,tokens = self.parseImpl( instring, preloc, doActions )
      File "C:\anaco\lib\site-packages\pip\_vendor\pyparsing.py", line 3183, in parseImpl
        raise ParseException(instring, loc, self.errmsg, self)
    pip._vendor.pyparsing.ParseException: Expected stringEnd (at char 1), (line:1, col:2)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "C:\anaco\lib\site-packages\pip\_internal\req\req_install.py", line 252, in from_line
        req = Requirement(req)
      File "C:\anaco\lib\site-packages\pip\_vendor\packaging\requirements.py", line 97, in __init__
        requirement_string[e.loc:e.loc + 8]))
    pip._vendor.packaging.requirements.InvalidRequirement: Invalid requirement, parse error at "':/Users/'"
    我对python的第三方安装是小白水平,请问这个是啥情况,谢谢老师了

     

     来源:CXH99.COM

  • TB技术人员: 一般有问题,通过tbpy.get_last_err() 找原因。
    如果没有原因跑异常,请确认tbpy和tbquant是不是同一个版本。

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容