Django ModuleNotFoundError: No module named 'anthropic'

I am trying to use the anthropic api within my django application. I am able to access and make requests to the API within a normal python file, but when I try doing the same within my django app (specifically my views.py file), it does not recognize anthropic as a module I have installed. Was wondering if anyone can help with this.

I have tried including anthropic within my settings.py file but this didn't resolve the error. The anthropic docs for python sdk: https://github.com/anthropics/anthropic-sdk-python

Вернуться на верх