Skip to content
New issue

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

使用QACTPBEE --userid 133496出错 #3

Open
bin-wang-sh opened this issue Sep 14, 2019 · 1 comment
Open

使用QACTPBEE --userid 133496出错 #3

bin-wang-sh opened this issue Sep 14, 2019 · 1 comment

Comments

@bin-wang-sh
Copy link

bin-wang-sh commented Sep 14, 2019

要使用如下指令:
QACTPBEE --userid 133496
但发现QACTPBeeBroker没安装。安装如下软件包
#pip install https://github.com/yutiansut/QACTPBeeBroker/archive/master.zip
#pip install ctpbee
Collecting ctpbee
Using cached https://files.pythonhosted.org/packages/36/95/7bd026fd24f5b9a1a35a49d9b2600fdd9ba6abfec2c314ed629f159379bf/ctpbee-0.30.3.tar.gz
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-jo34lcm6/ctpbee/setup.py'"'"'; file='"'"'/tmp/pip-install-jo34lcm6/ctpbee/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: /tmp/pip-install-jo34lcm6/ctpbee/
Complete output (11 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-jo34lcm6/ctpbee/setup.py", line 6, in
from ctpbee import version
File "/tmp/pip-install-jo34lcm6/ctpbee/ctpbee/init.py", line 8, in
from ctpbee.app import CtpBee
File "/tmp/pip-install-jo34lcm6/ctpbee/ctpbee/app.py", line 13, in
from ctpbee.constant import Exchange
File "/tmp/pip-install-jo34lcm6/ctpbee/ctpbee/constant.py", line 5, in
from dataclasses import dataclass, asdict
ModuleNotFoundError: No module named 'dataclasses'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
发现ctpbee出错。请求帮助?

@somewheve
Copy link
Contributor

此问题已经被修复了 手动安装dataclasses就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants