395 浏览
0

请问这个问题怎么解决

pip install tqsdk -U -i https://pypi.tuna.tsinghua.edu.cn/simple –trusted-host=pypi.tuna.tsinghua.edu.cn Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Requirement already satisfied: tqsdk in c:\program data\python\lib\site-packages (3.5.4) Requirement already satisfied: websockets>=8.1 in c:\program data\python\lib\site-packages (from tqsdk) (12.0) Requirement already satisfied: requests in c:\program data\python\lib\site-packages (from tqsdk) (2.31.0) Requirement already satisfied: numpy in c:\program data\python\lib\site-packages (from tqsdk) (1.26.4) Requirement already satisfied: pandas>=1.1.0 in c:\program data\python\lib\site-packages (from tqsdk) (2.2.1) Requirement already satisfied: scipy in c:\program data\python\lib\site-packages (from tqsdk) (1.12.0) Requirement already satisfied: simplejson in c:\program data\python\lib\site-packages (from tqsdk) (3.19.2) Requirement already satisfied: aiohttp in c:\program data\python\lib\site-packages (from tqsdk) (3.9.3) Requirement already satisfied: certifi in c:\program data\python\lib\site-packages (from tqsdk) (2024.2.2) Requirement already satisfied: pyjwt in c:\program data\python\lib\site-packages (from tqsdk) (2.8.0) Requirement already satisfied: psutil in c:\program data\python\lib\site-packages (from tqsdk) (5.9.8) Requirement already satisfied: shinny-structlog in c:\program data\python\lib\site-packages (from tqsdk) (0.0.4) Requirement already satisfied: sgqlc in c:\program data\python\lib\site-packages (from tqsdk) (16.3) Requirement already satisfied: filelock in c:\program data\python\lib\site-packages (from tqsdk) (3.13.1) Requirement already satisfied: tqsdk-ctpse in c:\program data\python\lib\site-packages (from tqsdk) (1.0.2) Requirement already satisfied: tqsdk-sm in c:\program data\python\lib\site-packages (from tqsdk) (1.0.5) Requirement already satisfied: python-dateutil>=2.8.2 in c:\program data\python\lib\site-packages (from pandas>=1.1.0->tqsdk) (2.9.0.post0) Requirement already satisfied: pytz>=2020.1 in c:\program data\python\lib\site-packages (from pandas>=1.1.0->tqsdk) (2024.1) Requirement already satisfied: tzdata>=2022.7 in c:\program data\python\lib\site-packages (from pandas>=1.1.0->tqsdk) (2024.1) Requirement already satisfied: aiosignal>=1.1.2 in c:\program data\python\lib\site-packages (from aiohttp->tqsdk) (1.3.1) Requirement already satisfied: attrs>=17.3.0 in c:\program data\python\lib\site-packages (from aiohttp->tqsdk) (23.2.0) Requirement already satisfied: frozenlist>=1.1.1 in c:\program data\python\lib\site-packages (from aiohttp->tqsdk) (1.4.1) Requirement already satisfied: multidict<7.0,>=4.5 in c:\program data\python\lib\site-packages (from aiohttp->tqsdk) (6.0.5) Requirement already satisfied: yarl<2.0,>=1.0 in c:\program data\python\lib\site-packages (from aiohttp->tqsdk) (1.9.4) Requirement already satisfied: async-timeout<5.0,>=4.0 in c:\program data\python\lib\site-packages (from aiohttp->tqsdk) (4.0.3) Requirement already satisfied: charset-normalizer<4,>=2 in c:\program data\python\lib\site-packages (from requests->tqsdk) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in c:\program data\python\lib\site-packages (from requests->tqsdk) (3.6) Requirement already satisfied: urllib3<3,>=1.21.1 in c:\program data\python\lib\site-packages (from requests->tqsdk) (2.2.1) Requirement already satisfied: graphql-core<4.0.0,>=3.1.7 in c:\program data\python\lib\site-packages (from sgqlc->tqsdk) (3.2.3) Requirement already satisfied: six>=1.5 in c:\program data\python\lib\site-packages (from python-dateutil>=2.8.2->pandas>=1.1.0->tqsdk) (1.16.0)

李思恒 已回答的问题 2024年3月25日
0

查一下你安装的tqsdk是否是调用的环境,环境问题可以网上查一下python环境解决办法

李思恒 已回答的问题 2024年3月25日