ApifyWrapper import using Langchain
I installed all the necessary dependencies in my code but when I try to import ApifyWrapper using:
from langchain.utilities import ApifyWrapper
I get an Import error that says
ImportError: cannot import name 'ApifyWrapper' from 'langchain.utilities' (/usr/local/lib/python3.10/dist-packages/langchain/utilities/init.py)
I wanted to know to fix this issue
2 Replies
rival-black•2y ago
Langchain has removed ApifyWrapper, we already raised an issue: https://github.com/langchain-ai/langchain/issues/9294
GitHub
Issue:
ApifyWrapper
was removed from the codebase breaking user's...Issue you'd like to raise. In LangChain 0.0.240, the ApifyWrapper class was removed. This caused a breaking change and broke any code using this class. It was deleted in this PR #8106 @hwchase1...
rival-black•2y ago
Also related: https://github.com/langchain-ai/langchain/issues/8307
GitHub
ImportError: cannot import name 'ApifyWrapper' from 'langchain.util...
System Info Hi All, I tried to run Apify tutorial and I ran on the issue of ImportError: cannot import name 'ApifyWrapper' from 'langchain.utilities'. I checked the Utilities librar...