VinciGit00 / Scrapegraph-ai

Python scraper based on AI

Home Page:https://scrapegraphai.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError: cannot import name 'OneApi' from 'scrapegraphai.models' when trying to run the search_graph_openai.py example

pn1-ms opened this issue · comments

I'm getting ImportError: cannot import name 'OneApi' from 'scrapegraphai.models' when trying to run the search_graph_openai.py example (line 7: from scrapegraphai.graphs import SearchGraph)

I'm on macOS Ventura, Python 3.12, Scrapegraph-ai 1.5.1.

Sorry, saw now that it's been fixed in 1.5.2, I was on 1.5.1.