griptape-ai / griptape-trade-school

Griptape Trade School mkdocs
4 stars 5 forks source link

Getting error when initiating the first part of the Chatbot lesson (video 1) #8

Closed brustkern closed 1 year ago

brustkern commented 1 year ago

Describe the bug I'm in the Chatbot lesson, in the intro chapter, and my code is breaking when I run it. The error is "No module named 'griptape.core' "

To Reproduce See code snapshot below. Seems like it's throwing an error on line 3

Expected behavior I was hoping to graduate from the setup chapter, but I'm stuck lol

Screenshots snapshot

Additional context I'm pretty new here, so please excuse me if this is operator error. (98% sure it is)

shhlife commented 1 year ago

Heya!

Thanks very much for the bug! We chatted about this offline to resolve it, but I wanted to loop back and make sure anyone else who discovered this post after a similar issue also has access to the solution.

In this case, Bo had previously installed griptape and griptape-tools. Once griptape-tools was no longer needed, he hadn't uninstalled it and there appeared to be some conflicts.

The solution was to first uninstall both griptape and griptape tools:

pip uninstall griptape griptape-tools -y

and then re-install griptape:

pip install griptape -y

After that, everything worked as expected. :)