Hi @notsodeeplearner1, it seems like you didn’t complete the expected code, as you still have the None placeholder, which is giving you the error. Please read the general instructions carefully at the beginning of the notebook before starting to work on any of the labs.
Cheers!
Thank you. On the Deeplearning notebook (the one running with the course video), now I’ve got the get_openai_api_key(), however, I am getting:
ImportError: cannot import name ‘ExaSearchTool’ from ‘exa’ (/home/jovyan/.local/lib/python3.12/site-packages/exa/_init_.py) ?
Any thoughts as to what’s happening?
Hey @notsodeeplearner1 in which notebook are you experiencing this issue? That way I can check what’s going on.
Additionally, maybe try refreshing the webpage. I know imports happen at the very beginning of the lab, but if you left the tab idle for some time you may have been disconnected and just need a refresh,
As I said, it is happening now in the actual course (crewai) video, not my own local machine! I’ve already tried, refereshings, re-starting kernels, pip installed crewai, pip install exa, chatgpt, co-pilot, stackoverflow, to name some! AI’s don’t even agree about, for example, whether ExaSearchTool is part of or crewai, and I keep getting an error message by notebook that it cannot find it!
Yes, I understand its happening on the platform, but which item is the one generating the issue? or are all practice labs (the ones with videos) not working? If you let me know, I can take another look.
Just for reference, ExaSearchTool comes in the crewai-tools package, which you can install on its own or with pip install crewai[tools]
The error is happening because that is not the correct import. I suggest trying to get back the original notebook, or you can check the correct import from the notebook in the Solution folder. I’m guessing this is from the second lab+video in Module 1, right?
Yes, it is the second lab code example, for module 1. But, I’ve already went back to the original code many times, and put various imports (exa, crewai, and/or crewai_tools), to no avail! Also, you are referring to the Solution folder, where is that? And thank you for the kind effort that you are putting, and being patient with me, much appriciated.
No problem, happy to help! I’ll attach two videos, one showing how to access (and run) the solution notebook, and another showing how you can get the original version. I know you mentioned you already tried this, but just in case I want to share, maybe you’re doing something different.
Please let me know if this helps, because I’m not being able to reproduce your issue on my account.
I’ven’t watched the videos that you’v sent yet, BUT FOUND OUT THAT I MADE A SILLY MISTAKE (CAPTIAL LETTERS vs. SMAL ONES), ExaSearchTool instead of EXASearchTool. Can’t they direct AI to sort out such sill typo erros, once and for all, in all IT-related matters!. Anyway, the pertaining issues are solved, though, for the time-being, thanks for your efforts.
Great, I’m glad it was solved!
Cheers ![]()

