3.03K 浏览
0

G:\tqpy\sp>pip install tqsdk -U
Collecting tqsdk
Downloading tqsdk-3.0.1-py3-none-win_amd64.whl (4.6 MB)
|████████████████████████████████| 4.6 MB 16 kB/s
Collecting aiohttp
Downloading aiohttp-3.8.1-cp310-cp310-win_amd64.whl (555 kB)
|████████████████████████████████| 555 kB 24 kB/s
Collecting pandas>=1.1.0
Downloading pandas-1.3.4-cp310-cp310-win_amd64.whl (10.2 MB)
|████████████████████████████████| 10.2 MB 10 kB/s
Requirement already satisfied: numpy in e:\python310\lib\site-packages (from tqsdk) (1.21.4)
Requirement already satisfied: pyjwt in e:\python310\lib\site-packages (from tqsdk) (2.3.0)
Requirement already satisfied: sgqlc in e:\python310\lib\site-packages (from tqsdk) (14.1)
Collecting psutil
Downloading psutil-5.8.0.tar.gz (470 kB)
|████████████████████████████████| 470 kB 12 kB/s
Preparing metadata (setup.py) … done
Requirement already satisfied: websockets>=8.1 in e:\python310\lib\site-packages (from tqsdk) (10.1)
Requirement already satisfied: shinny-structlog in e:\python310\lib\site-packages (from tqsdk) (0.0.4)
Requirement already satisfied: requests in e:\python310\lib\site-packages (from tqsdk) (2.26.0)
Requirement already satisfied: simplejson in e:\python310\lib\site-packages (from tqsdk) (3.17.6)
Requirement already satisfied: scipy in e:\python310\lib\site-packages (from tqsdk) (1.7.3)
Requirement already satisfied: certifi in e:\python310\lib\site-packages (from tqsdk) (2021.10.8)
Requirement already satisfied: pytz>=2017.3 in e:\python310\lib\site-packages (from pandas>=1.1.0->tqsdk) (2021.3)
Requirement already satisfied: python-dateutil>=2.7.3 in e:\python310\lib\site-packages (from pandas>=1.1.0->tqsdk) (2.8.2)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in e:\python310\lib\site-packages (from aiohttp->tqsdk) (4.0.1)
Requirement already satisfied: attrs>=17.3.0 in e:\python310\lib\site-packages (from aiohttp->tqsdk) (21.2.0)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in e:\python310\lib\site-packages (from aiohttp->tqsdk) (2.0.8)
Requirement already satisfied: frozenlist>=1.1.1 in e:\python310\lib\site-packages (from aiohttp->tqsdk) (1.2.0)
Requirement already satisfied: multidict<7.0,>=4.5 in e:\python310\lib\site-packages (from aiohttp->tqsdk) (5.2.0)
Requirement already satisfied: aiosignal>=1.1.2 in e:\python310\lib\site-packages (from aiohttp->tqsdk) (1.2.0)
Requirement already satisfied: yarl<2.0,>=1.0 in e:\python310\lib\site-packages (from aiohttp->tqsdk) (1.7.2)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in e:\python310\lib\site-packages (from requests->tqsdk) (1.26.7)
Requirement already satisfied: idna<4,>=2.5 in e:\python310\lib\site-packages (from requests->tqsdk) (3.3)
Requirement already satisfied: graphql-core in e:\python310\lib\site-packages (from sgqlc->tqsdk) (3.1.6)
Requirement already satisfied: typing-extensions>=3.6.5 in e:\python310\lib\site-packages (from async-timeout<5.0,>=4.0.0a3->aiohttp->tqsdk) (4.0.1)
Requirement already satisfied: six>=1.5 in e:\python310\lib\site-packages (from python-dateutil>=2.7.3->pandas>=1.1.0->tqsdk) (1.16.0)
Using legacy ‘setup.py install’ for psutil, since package ‘wheel’ is not installed.
Installing collected packages: psutil, pandas, aiohttp, tqsdk
Running setup.py install for psutil … error

ringo 已回答的问题 2021年12月6日
0

不支持的原因是因为tqsdk在实现中使用了其他依赖库,其他依赖库目前还不支持py3.10,所以tqsdk也还不支持

ringo 已回答的问题 2021年12月6日
0

python 3.10已发布2个月了

陈 陈 已回答的问题 2021年12月4日
0

也遇到相同的问题,用3.9.9就行了

tygk98 发表新评论 2021年12月5日

3.10.0不能安装的问题总的解决啊。