No module named 'mem0'
Bug Description
PS D:\Dev\browser-use> python run.py
INFO [browser_use] BrowserUse logging setup complete with level info
Traceback (most recent call last):
File "D:\Dev\browser-use\run.py", line 2, in
Reproduction Steps
I used Quick start,but ?
Code Sample
from langchain_openai import ChatOpenAI
from browser_use import Agent
import asyncio
from dotenv import load_dotenv
load_dotenv()
async def main():
agent = Agent(
task="Compare the price of gpt-4o and DeepSeek-V3",
llm=ChatOpenAI(model="DeepSeek-V3"),
)
await agent.run()
asyncio.run(main())
Version
pip 24.3.1
LLM Model
DeepSeek Coder
Operating System
win11
Relevant Log Output
pip install mem0ai
just git pull; uv sync or pip install --upgrade git+https://github.com/browser-use/browser-use.git@main no need to install subdependency packages like mem0ai manually.
just
git pull; uv syncorpip install --upgrade git+https://github.com/browser-use/browser-use.git@mainno need to install subdependency packages likemem0aimanually.
thanks !
This dependency issue has been completely resolved! The mem0 dependency was part of an experimental memory feature that has since been removed from browser-use.
For anyone still seeing this error:
- Update to the latest browser-use version
- Clear your Python cache:
pip cache purge - Reinstall:
pip install --upgrade --force-reinstall browser-use
Thanks for reporting this!