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

ImportError: cannot import name 'OrderBook' from partially initialized module 'orderbook' #19

Open
HalonMallic opened this issue Nov 22, 2021 · 1 comment

Comments

@HalonMallic
Copy link

When trying to use from orderbook import OrderBook I get ImportError: cannot import name 'OrderBook' from partially initialized module 'orderbook'

@ghost
Copy link

ghost commented Feb 12, 2022

i've fixed this by running the python command with -m when executing the script. Something like

python3 -m uvicorn server:app

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

1 participant