Unable to accesss Knowledge in Crewai but other modules are working

Here is the crewai documentation I wanted to implement.

  1. The code that I want it to work in my Project: from crewai.knowledge.source.pdf_knowledge_source import PDFKnowledgeSource

The error faced in my VS code IDE.

  1. In my project, knowledge from crewai is being unable to be recognized in my vs code.
  2. The project dependencies is pasted in the image below.

Which version of crewai are you using?

Imports like from crewai.knowledge.source.pdf_knowledge_source import PDFKnowledgeSource should work.

Do you get an error when you try to run the crew?