Skip to content

v1.15.1: burr dependency not optional #610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
LorenzoPaleari opened this issue Aug 29, 2024 · 11 comments
Open

v1.15.1: burr dependency not optional #610

LorenzoPaleari opened this issue Aug 29, 2024 · 11 comments

Comments

@LorenzoPaleari
Copy link
Contributor

Describe the bug
Burr package is required in order to start any example of ScrapeGraphAI.

To Reproduce

pip install scrapegraphai
playwright install
python3 smart_scraper_openai.py # examples/openai/smart_scraper_openai.py

Expected behaviour
Burr should be installed only if used.

(venv) lollo@Lorenzos-MacBook-Pro test % python3 smart_scraper_openai.py 
Traceback (most recent call last):
  File "/Users/lollo/Desktop/test/venv/lib/python3.11/site-packages/scrapegraphai/integrations/burr_bridge.py", line 13, in <module>
    import burr
ModuleNotFoundError: No module named 'burr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/lollo/Desktop/test/smart_scraper_openai.py", line 8, in <module>
    from scrapegraphai.graphs import SmartScraperGraph
  File "/Users/lollo/Desktop/test/venv/lib/python3.11/site-packages/scrapegraphai/graphs/__init__.py", line 6, in <module>
    from .base_graph import BaseGraph
  File "/Users/lollo/Desktop/test/venv/lib/python3.11/site-packages/scrapegraphai/graphs/base_graph.py", line 8, in <module>
    from ..integrations import BurrBridge
  File "/Users/lollo/Desktop/test/venv/lib/python3.11/site-packages/scrapegraphai/integrations/__init__.py", line 5, in <module>
    from .burr_bridge import BurrBridge
  File "/Users/lollo/Desktop/test/venv/lib/python3.11/site-packages/scrapegraphai/integrations/burr_bridge.py", line 18, in <module>
    raise ImportError("burr package is not installed. Please install it with 'pip install scrapegraphai[burr]'")
ImportError: burr package is not installed. Please install it with 'pip install scrapegraphai[burr]'

Desktop (please complete the following information):

  • OS: MacOsX - MacBookPro 2018
  • Version: python3.11
@VinciGit00
Copy link
Collaborator

which version are you using?

@LorenzoPaleari
Copy link
Contributor Author

1.15.1

@VinciGit00
Copy link
Collaborator

hi please update to the new version.
I will close the issue.
Let me know if you still have problems

@ocdnamib
Copy link

Hello, I am experiencing the same error on version 1.50.0

@VinciGit00
Copy link
Collaborator

@ocdnamib does it work with version 1.58?

@ocdnamib
Copy link

did you mean 1.48.0 ? cannot find 1.58.0

@VinciGit00
Copy link
Collaborator

@ocdnamib yes

@VinciGit00 VinciGit00 reopened this Apr 29, 2025
@ocdnamib
Copy link

Same error @VinciGit00

@ocdnamib
Copy link

I figured out that when installing burr with scrapwithgraph it installed burr 0.22, I tried with latest 0.39 but error remained.

@VinciGit00
Copy link
Collaborator

@ocdnamib do you need burr?

@ocdnamib
Copy link

ocdnamib commented Apr 29, 2025

i don't "need" I was just testing according to documentation.
is it out of scope/roadmap now ?

Edit : from debug erspective and assessing chain of event it appears really great...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants