Agents course: smolagent is not installed for final assessment

Added smolagents in requirements.txt


What is missing ?

2 Likes

There are cases where the module really does not exist, but when Python says that a module does not exist even though it definitely does, the cause is usually the file name or folder name.

1 Like

I encountered a similar problem before. I used pip install and it was successfully installed but it still shows ModuleNotFoundError . I realized that I have two python folders, version 3.10 and 3.12. The files were downloaded in my python 3.12 folder but I am using python 3.10 as my kernel in VSCode. I just transferred the files to my python 3.10 folder and restarted the kernel. Though I haven’t tried using HuggingFace yet.

1 Like