TypeError: cannot pickle '_asyncio.Future' object when using Playwright MCP server with LangChain adapter and Ollama #263
fahad-charolia
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Getting a serialization error when trying to use the Playwright MCP server with the LangChain adapter. The error occurs during tool creation when the library attempts to deep copy objects containing asyncio Future objects.
Error Message
TypeError: cannot pickle '_asyncio.Future' object
Environment
Python: 3.11.5
OS: Windows
mcp-use: 1.3.10
langchain: 0.3.5
langchain-core: 0.3.13
langchain_ollama: 0.2.0
pydantic: 2.7.4
pydantic-settings: 2.10.1
Code to reproduce
Beta Was this translation helpful? Give feedback.
All reactions