This repository was archived by the owner on Jan 12, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 522
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
[BUG] No module named 'Queue' in ibpy2 dependency #179
Copy link
Copy link
Open
Labels
Description
Describe the bug
I'm getting a Queue vs queue capitalization error (more details here - it relates to a change in Python 2 vs 3) when trying to run the blotter file. It seems to stem from ibpy2 - is this where it should be gathering these libs from? Is there an alternative for this dependency or a workaround?
I've tried changing the capitalization in the file specified in the stack trace but it fires an exception for trying to print too many exceptions then! So I assume its bad...
Desktop (please complete the following information):
- OS: Windows 10 (running from Powershell as Admin)
Additional context
Stack trace:
PS C:\Users\desmo\Documents\sdata> python blotter.py
Traceback (most recent call last):
File "C:\Users\desmo\Documents\sdata\blotter.py", line 2, in <module>
from qtpylib.blotter import Blotter
File "C:\Users\desmo\AppData\Local\Programs\Python\Python310\lib\site-packages\qtpylib-1.5.84-py3.10.egg\qtpylib\blotter.py", line 51, in <module>
from ezibpy import (
File "C:\Users\desmo\AppData\Local\Programs\Python\Python310\lib\site-packages\ezibpy-1.12.70-py3.10.egg\ezibpy\__init__.py", line 26, in <module>
File "C:\Users\desmo\AppData\Local\Programs\Python\Python310\lib\site-packages\ezibpy-1.12.70-py3.10.egg\ezibpy\ezibpy.py", line 31, in <module>
File "C:\Users\desmo\AppData\Local\Programs\Python\Python310\lib\site-packages\ibpy2-0.8.0-py3.10.egg\ib\opt\__init__.py", line 30, in <module>
from ib.opt.connection import Connection
File "C:\Users\desmo\AppData\Local\Programs\Python\Python310\lib\site-packages\ibpy2-0.8.0-py3.10.egg\ib\opt\connection.py", line 20, in <module>
from ib.opt.dispatcher import Dispatcher
File "C:\Users\desmo\AppData\Local\Programs\Python\Python310\lib\site-packages\ibpy2-0.8.0-py3.10.egg\ib\opt\dispatcher.py", line 8, in <module>
from Queue import Queue, Empty
ModuleNotFoundError: No module named 'Queue'