關(guān)于tbpy的下載問(wèn)題 [開拓者 TB]
-
咨詢內(nèi)容:
我按照tbpy的幫助文檔在cmd上輸入如下命令:c:\>C:/anaco/Scripts/pip install c:/Users/23611/AppData/Roaming/TBQuant/tbpy-x.x.x.x-py3-none-any.whl-U
結(jié)果出現(xiàn)了如下錯(cuò)誤:
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/'"
我對(duì)python的第三方安裝是小白水平,請(qǐng)問(wèn)這個(gè)是啥情況,謝謝老師了?
?來(lái)源:CXH99.COM
-
TB技術(shù)人員:
一般有問(wèn)題,通過(guò)tbpy.get_last_err() 找原因。
如果沒有原因跑異常,請(qǐng)確認(rèn)tbpy和tbquant是不是同一個(gè)版本。
有思路,想編寫各種指標(biāo)公式,交易模型,選股公式,還原公式的朋友
可聯(lián)系技術(shù)人員 QQ: 262069696 或微信號(hào):cxh99cxh99 進(jìn)行 有償收費(fèi) 編寫!
(怎么收費(fèi),代編流程等詳情請(qǐng)點(diǎn)擊閱讀!)
(注:由于人數(shù)限制,QQ或微信請(qǐng)選擇方便的一個(gè)聯(lián)系我們就行,加好友時(shí)請(qǐng)簡(jiǎn)單備注下您的需求,否則無(wú)法通過(guò)。謝謝您!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容