lavague-ai / LaVague

Large Action Model framework to develop AI Web Agents
https://docs.lavague.ai/en/latest/
Apache License 2.0
5.49k stars 505 forks source link

no module named lavague.drivers or lavague.core #579

Closed yokotsumo closed 3 months ago

yokotsumo commented 3 months ago

Describe the bug no module named lavague.drivers or lavague.core Debian 12 Python 3.11.2 VSCode 1.92.2 lavague 1.0.8

To Reproduce Steps to reproduce the behavior: Execute the example script in python: from lavague.drivers.selenium import SeleniumDriver from lavague.core import ActionEngine, WorldModel from lavague.core.agents import WebAgent

selenium_driver = SeleniumDriver(headless=True) action_engine = ActionEngine(selenium_driver) world_model = WorldModel()

agent = WebAgent(world_model, action_engine)

agent.get("https://huggingface.co/docs") agent.demo("Go on the quicktour of PEFT")

Expected behavior File "/media/lg/Sauvegarde/AI/projects/la_vague_scraping.py", line 1, in from lavague.drivers.selenium import SeleniumDriver ModuleNotFoundError: No module named 'lavague.drivers'

Screenshots If applicable, add screenshots to help explain your problem.

yokotsumo commented 3 months ago

Did not work from requirements.txt but worked with command line installlation with pip (pip install lavague).