I can not import ApifyWrapper from langchain.utilities. I need to import it to make web scrapping from a web site for a school project.
I got this error:
**
ImportError Traceback (most recent call last) Cell In1, line 3 1 from langchain.document_loaders.base import Document 2 from langchain.indexes import VectorstoreIndexCreator ----> 3 from langchain.utilities import ApifyWrapper ImportError: cannot import name 'ApifyWrapper' from 'langchain.utilities' (C:\Users\USER2023\anaconda3\lib\site-packages\langchain\utilities_init_.py)
**
I have checked the Langchain documentation and found that apify.ipynb is located in the tools folder. Attached link: https://github.com/langchain-ai/langchain/blob/master/docs/extras/integrations/tools/apify.ipynb
Please suggestions to solve it.
latest version(0.0.251) of langchain missing this Wrapper(need to dig more on it), so you can move back to the prior version.
this version will work and import will be successful.