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

Import error in scaffold script #7295

Closed
archinksagar opened this issue Feb 1, 2024 · 1 comment · Fixed by #7296
Closed

Import error in scaffold script #7295

archinksagar opened this issue Feb 1, 2024 · 1 comment · Fixed by #7296
Labels

Comments

@archinksagar
Copy link
Contributor

I get the following error when I run the scaffold script.

python scripts/scaffold.py
Traceback (most recent call last):
File "/moto/scripts/scaffold.py", line 40, in
from moto.core import BaseBackend
ImportError: cannot import name 'BaseBackend' from 'moto.core' (/moto/moto/core/init.py)

@bblommers
Copy link
Collaborator

Thanks @archinksagar - I've raised a PR with a fix. Let me know if you run into any other issues after that's merged

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

Successfully merging a pull request may close this issue.

2 participants