Open alxcnwy opened 3 days ago
Hy! I think the problem is python3.9 . Try to use a newer version of python: (I work with python 3.10 on Mac M2 and the following is working ):
python3.10 -m venv venv
source ./venv/bin/activate
pip install lavague
python3 -V (#3.10.14)
python3 test.py
Where test.py is :
from lavague.core import WorldModel, ActionEngine
from lavague.core.agents import WebAgent
from lavague.drivers.selenium import SeleniumDriver
selenium_driver = SeleniumDriver(headless=False)
world_model = WorldModel()
action_engine = ActionEngine(selenium_driver)
agent = WebAgent(world_model, action_engine)
agent.get("https://huggingface.co/docs")
agent.run("Extract the first paragraph only from the quicktour PEFT subsection")
Describe the bug I'm getting the following error after
pip install lavague
and trying to run the test code:To Reproduce Steps to reproduce the behavior:
pip install lavague
on M2 macExpected behavior I expect the test code to run