How to fix the import error of base_tool using CrewAI?

I’m trying to run my application through a gateway in an AWS Lambda. However, whenever I call the route, I get the following error:

[ERROR] Runtime.ImportModuleError: Unable to import module 'app': No module named 'crewai.tools.base_tool'
Traceback (most recent call last):

I’m not even using BaseTool in my code, I’m only using WebsiteSearchTool and TXTSearchTool:

from crewai_tools import WebsiteSearchTool, TXTSearchTool

class Tools():
  def searchTermsOfUse(termsOfUseUrl):
    return WebsiteSearchTool(website=termsOfUseUrl)
  
  def searchFaq(faqPath):
    return TXTSearchTool(txt=faqPath)

Still, I keep receiving this error.

I’m using the following versions:

crewai==0.98.0
crewai-tools==0.32.1

How can I solve this?

expect to be able to run the route that uses the tools I declared without any errors.