We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In [199]: pip install git+https://github.com/51bitquant/howtrader.git Collecting git+https://github.com/51bitquant/howtrader.git Cloning https://github.com/51bitquant/howtrader.git to c:\users\qgb\appdata\local\temp\pip-req-build-ylsqf3y3 Running command git clone -q https://github.com/51bitquant/howtrader.git 'C:\Users\qgb\AppData\Local\Temp\pip-req-build-ylsqf3y3' Collecting simplejson Downloading simplejson-3.18.3-cp37-cp37m-win_amd64.whl (74 kB) |████████████████████████████████| 74 kB 126 kB/s Requirement already satisfied: flask in c:\qgb\anaconda3\lib\site-packages (from howtrader==3.3.0) (1.1.1) Collecting PySide6 Downloading PySide6-6.4.2-cp37-abi3-win_amd64.whl (7.2 kB) Collecting pyqtgraph Downloading pyqtgraph-0.12.4-py3-none-any.whl (995 kB) |████████████████████████████████| 995 kB 251 kB/s Collecting qdarkstyle Downloading QDarkStyle-3.1-py2.py3-none-any.whl (870 kB) |████████████████████████████████| 870 kB 152 kB/s Requirement already satisfied: requests in c:\qgb\anaconda3\lib\site-packages (from howtrader==3.3.0) (2.25.1) Requirement already satisfied: aiohttp in c:\users\qgb\appdata\roaming\python\python37\site-packages (from howtrader==3.3.0) (3.6.2) Requirement already satisfied: pytz in c:\qgb\anaconda3\lib\site-packages (from howtrader==3.3.0) (2021.3) Collecting peewee Downloading peewee-3.15.4.tar.gz (860 kB) |████████████████████████████████| 860 kB 163 kB/s Collecting pymongo Downloading pymongo-4.3.3-cp37-cp37m-win_amd64.whl (382 kB) |████████████████████████████████| 382 kB 285 kB/s Requirement already satisfied: numpy in c:\qgb\anaconda3\lib\site-packages (from howtrader==3.3.0) (1.21.6) Requirement already satisfied: pandas in c:\qgb\anaconda3\lib\site-packages (from howtrader==3.3.0) (0.25.3) Requirement already satisfied: matplotlib in c:\qgb\anaconda3\lib\site-packages (from howtrader==3.3.0) (3.5.1) Collecting seaborn Downloading seaborn-0.12.2-py3-none-any.whl (293 kB) |████████████████████████████████| 293 kB 261 kB/s Collecting deap Downloading deap-1.3.3-cp37-cp37m-win_amd64.whl (108 kB) |████████████████████████████████| 108 kB 225 kB/s Requirement already satisfied: tzlocal in c:\qgb\anaconda3\lib\site-packages (from howtrader==3.3.0) (2.0.0) Collecting plotly Downloading plotly-5.13.0-py2.py3-none-any.whl (15.2 MB) |████████████████████████████████| 15.2 MB 656 kB/s Requirement already satisfied: importlib-metadata in c:\users\qgb\appdata\roaming\python\python37\site-packages (from howtrader==3.3.0) (4.12.0) Requirement already satisfied: Jinja2>=2.10.1 in c:\qgb\anaconda3\lib\site-packages (from flask->howtrader==3.3.0) (2.10.3) Requirement already satisfied: itsdangerous>=0.24 in c:\qgb\anaconda3\lib\site-packages (from flask->howtrader==3.3.0) (1.1.0) Requirement already satisfied: Werkzeug>=0.15 in c:\qgb\anaconda3\lib\site-packages (from flask->howtrader==3.3.0) (0.16.0) Requirement already satisfied: click>=5.1 in c:\qgb\anaconda3\lib\site-packages (from flask->howtrader==3.3.0) (8.1.3) Collecting PySide6-Essentials==6.4.2 Downloading PySide6_Essentials-6.4.2-cp37-abi3-win_amd64.whl (77.2 MB) |████████████████████████████████| 77.2 MB 3.3 MB/s Collecting PySide6-Addons==6.4.2 Downloading PySide6_Addons-6.4.2-cp37-abi3-win_amd64.whl (98.8 MB) |████████████████████████████████| 98.8 MB 43 kB/s Collecting shiboken6==6.4.2 Downloading shiboken6-6.4.2-cp37-abi3-win_amd64.whl (1.5 MB) |████████████████████████████████| 1.5 MB 182 kB/s Requirement already satisfied: qtpy>=1.9 in c:\qgb\anaconda3\lib\site-packages (from qdarkstyle->howtrader==3.3.0) (1.9.0) Requirement already satisfied: chardet<5,>=3.0.2 in c:\qgb\anaconda3\lib\site-packages (from requests->howtrader==3.3.0) (3.0.4) Requirement already satisfied: certifi>=2017.4.17 in c:\qgb\anaconda3\lib\site-packages (from requests->howtrader==3.3.0) (2022.6.15) Requirement already satisfied: idna<3,>=2.5 in c:\qgb\anaconda3\lib\site-packages (from requests->howtrader==3.3.0) (2.8) Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\qgb\anaconda3\lib\site-packages (from requests->howtrader==3.3.0) (1.25.10) Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\qgb\appdata\roaming\python\python37\site-packages (from aiohttp->howtrader==3.3.0) (1.3.0) Requirement already satisfied: async-timeout<4.0,>=3.0 in c:\users\qgb\appdata\roaming\python\python37\site-packages (from aiohttp->howtrader==3.3.0) (3.0.1) Requirement already satisfied: multidict<5.0,>=4.5 in c:\users\qgb\appdata\roaming\python\python37\site-packages (from aiohttp->howtrader==3.3.0) (4.5.2) Requirement already satisfied: attrs>=17.3.0 in c:\qgb\anaconda3\lib\site-packages (from aiohttp->howtrader==3.3.0) (19.3.0) Requirement already satisfied: dnspython<3.0.0,>=1.16.0 in c:\qgb\anaconda3\lib\site-packages (from pymongo->howtrader==3.3.0) (2.1.0) Requirement already satisfied: python-dateutil>=2.6.1 in c:\qgb\anaconda3\lib\site-packages (from pandas->howtrader==3.3.0) (2.8.0) Requirement already satisfied: packaging>=20.0 in c:\qgb\anaconda3\lib\site-packages (from matplotlib->howtrader==3.3.0) (21.3) Requirement already satisfied: fonttools>=4.22.0 in c:\qgb\anaconda3\lib\site-packages (from matplotlib->howtrader==3.3.0) (4.22.1) Requirement already satisfied: pyparsing>=2.2.1 in c:\qgb\anaconda3\lib\site-packages (from matplotlib->howtrader==3.3.0) (3.0.9) Requirement already satisfied: kiwisolver>=1.0.1 in c:\qgb\anaconda3\lib\site-packages (from matplotlib->howtrader==3.3.0) (1.1.0) Requirement already satisfied: pillow>=6.2.0 in c:\qgb\anaconda3\lib\site-packages (from matplotlib->howtrader==3.3.0) (8.3.1) Requirement already satisfied: cycler>=0.10 in c:\qgb\anaconda3\lib\site-packages (from matplotlib->howtrader==3.3.0) (0.10.0) Requirement already satisfied: typing_extensions; python_version < "3.8" in c:\qgb\anaconda3\lib\site-packages (from seaborn->howtrader==3.3.0) (4.3.0) Collecting tenacity>=6.2.0 Downloading tenacity-8.2.1-py3-none-any.whl (24 kB) Requirement already satisfied: zipp>=0.5 in c:\qgb\anaconda3\lib\site-packages (from importlib-metadata->howtrader==3.3.0) (0.6.0) Requirement already satisfied: MarkupSafe>=0.23 in c:\qgb\anaconda3\lib\site-packages (from Jinja2>=2.10.1->flask->howtrader==3.3.0) (1.1.1) Requirement already satisfied: colorama; platform_system == "Windows" in c:\qgb\anaconda3\lib\site-packages (from click>=5.1->flask->howtrader==3.3.0) (0.4.5) Requirement already satisfied: six>=1.5 in c:\qgb\anaconda3\lib\site-packages (from python-dateutil>=2.6.1->pandas->howtrader==3.3.0) (1.15.0) Requirement already satisfied: setuptools in c:\qgb\anaconda3\lib\site-packages (from kiwisolver>=1.0.1->matplotlib->howtrader==3.3.0) (41.6.0.post20191030) Requirement already satisfied: more-itertools in c:\qgb\anaconda3\lib\site-packages (from zipp>=0.5->importlib-metadata->howtrader==3.3.0) (7.2.0) Building wheels for collected packages: howtrader, peewee Building wheel for howtrader (setup.py) ... done Created wheel for howtrader: filename=howtrader-3.3.0-py3-none-any.whl size=413806 sha256=1edfd9c8768602e47cf25fdc6dd2d26e9b79579fc32e6673a3a5510874df59f9 Stored in directory: C:\Users\qgb\AppData\Local\Temp\pip-ephem-wheel-cache-25fpjn8c\wheels\2c\24\2f\b6952a64d3b9a28ed8501709df290eb4c7f8a198940eb7c495 Building wheel for peewee (setup.py) ... done Created wheel for peewee: filename=peewee-3.15.4-py3-none-any.whl size=134778 sha256=693e0dfb20f33a76d56e2d342025b80b4f11fef9d6906c204632a516d4a5aada Stored in directory: c:\users\qgb\appdata\local\pip\cache\wheels\54\74\ab\677da1f27ba931a5004373dbe2663fc82023b8dc9dd2ad603c Successfully built howtrader peewee Installing collected packages: simplejson, shiboken6, PySide6-Essentials, PySide6-Addons, PySide6, pyqtgraph, qdarkstyle, peewee, pymongo, seaborn, deap, tenacity, plotly, howtrader Successfully installed PySide6-6.4.2 PySide6-Addons-6.4.2 PySide6-Essentials-6.4.2 deap-1.3.3 howtrader-3.3.0 peewee-3.15.4 plotly-5.13.0 pymongo-4.3.3 pyqtgraph-0.12.4 qdarkstyle-3.1 seaborn-0.12.2 shiboken6-6.4.2 simplejson-3.18.3 tenacity-8.2.1 Note: you may need to restart the kernel to use updated packages. In [200]: !python C:\test\tv\howtraderT.py Traceback (most recent call last): File "C:\test\tv\howtraderT.py", line 3, in <module> from howtrader.trader.engine import MainEngine File "C:\QGB\Anaconda3\lib\site-packages\howtrader\trader\engine.py", line 26, in <module> from .gateway import BaseGateway File "C:\QGB\Anaconda3\lib\site-packages\howtrader\trader\gateway.py", line 18, in <module> from .object import ( File "C:\QGB\Anaconda3\lib\site-packages\howtrader\trader\object.py", line 10, in <module> from .constant import Direction, Exchange, Interval, Offset, Status, Product, OptionType, OrderType File "C:\QGB\Anaconda3\lib\site-packages\howtrader\trader\constant.py", line 7, in <module> from tzlocal import get_localzone_name ImportError: cannot import name 'get_localzone_name' from 'tzlocal' (C:\QGB\Anaconda3\lib\site-packages\tzlocal\__init__.py)
The text was updated successfully, but these errors were encountered:
the tzlocal version is not matched
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: