You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The class name used in the import statement in app.py is not properly templatized and does not match the name of the class in the package directory file. This causes an error like this:
(.env) $ cdk synth
Traceback (most recent call last):
File "app.py", line 5, in <module>
from pythonhw.pythonhw_stack import PyStack
ImportError: cannot import name 'PyStack' from 'pythonhw.pythonhw_stack' (/Users/garnaat/projects/cdkdev/pythonhw/pythonhw/pythonhw_stack.py)
Subprocess exited with error 1
The text was updated successfully, but these errors were encountered:
If you do:
The class name used in the import statement in
app.py
is not properly templatized and does not match the name of the class in the package directory file. This causes an error like this:The text was updated successfully, but these errors were encountered: