Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBernard Ruziye
8,531 PointsPlease help. I keep on getting the error Bummer: There should be a variable called engine set to create_engine(). Make s
i keep on getting the error Bummer: There should be a variable called engine set to create_engine(). Make sure you have 3 ///, the database named movies.db, and echo set to False.
# insert your code here
from sqlalchemy import create_engine,
from sqlalchemy.ext.declarative import declarative_base
engine = create_engine('sqlite:///movies.db', echo = false)
Base = declarative_base()
class Movie(Base):
__tablename__ = 'movies'
1 Answer
Megan Amendola
Treehouse TeacherHi! You want to have it as echo=False
, then it should pass. You don't want any spaces around a key-value pair.