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 trial1 Answer
Steven Parker
231,248 PointsYou didn't say exactly what you do to cause the error, but it looks like the "books.py" module may be in the wrong directory. Try giving this system command before running "python" (when the prompt is like "treehouse:~/workspace$
"):
mv __pycache__/books.py .
Note the space and period at the end
You could also use the navigator pane on the left to drag it from the __pycache__
directory and drop it in the main one.
Steven Parker
231,248 PointsSteven Parker
231,248 PointsYou can make it possible for us to replicate the issue if you share the entire workspace by making a snapshot and posting the link to it.