Open HalonMallic opened 2 years ago
When trying to use from orderbook import OrderBook I get ImportError: cannot import name 'OrderBook' from partially initialized module 'orderbook'
from orderbook import OrderBook
ImportError: cannot import name 'OrderBook' from partially initialized module 'orderbook'
i've fixed this by running the python command with -m when executing the script. Something like
python3 -m uvicorn server:app
When trying to use
from orderbook import OrderBook
I getImportError: cannot import name 'OrderBook' from partially initialized module 'orderbook'