Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

在一个虚拟环境(python 3.8)下,pip 安装完库后,运行sht.py时报错,内容如下,该如何修复? #9

Open
Rank1972 opened this issue Jul 28, 2023 · 0 comments

Comments

@Rank1972
Copy link

(ctpbee_sht) F:\zhukun\ctpbee_sht>python sht.py

Traceback (most recent call last):
File "sht.py", line 9, in
from app.signin import SignInWidget
File "F:\zhukun\ctpbee_sht\Lib\site-packages\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in import return original_import(name, *args, **kwargs)
File "F:\zhukun\ctpbee_sht\app\signin.py", line 14, in
from app.main import MainWindow
File "F:\zhukun\ctpbee_sht\Lib\site-packages\shiboken2\files.dir\shibokensupport_feature
.py", line 142, in import return original_import(name, *args, **kwargs)
File "F:\zhukun\ctpbee_sht\app\main.py", line 16, in
from app.order import OrderWidget
File "F:\zhukun\ctpbee_sht\Lib\site-packages\shiboken2\files.dir\shibokensupport_feature
.py", line 142, in _import return original_import(name, *args, **kwargs)
File "F:\zhukun\ctpbee_sht\app\order.py", line 25, in
"SSE": Exchange.SSE,
File "F:\python3.8\lib\enum.py", line 384, in getattr
raise AttributeError(name) from None
AttributeError: SSE

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

No branches or pull requests

1 participant