You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "GreatEugenius (via GitHub)" <gi...@apache.org> on 2025/10/17 08:03:58 UTC
[I] [Bug] Python code under e2e_test cannot import the mcp module [flink-agents]
GreatEugenius opened a new issue, #276:
URL: https://github.com/apache/flink-agents/issues/276
### Search before asking
- [x] I searched in the [issues](https://github.com/apache/flink-agents/issues) and found nothing similar.
### Description
When I run integrate_datastream_with_agent_example.py locally, I encountered the following error message: `ModuleNotFoundError: No module named 'mcp.client'`
### How to reproduce
Download the source code:
```bash
git clone https://github.com/apache/flink-agents.git
```
Prepare the environment:
```bash
cd flink-agents
./tools/build.sh
```
Run the Python code in the e2e_test folder.:
```bash
python ./flink-agents/python/flink_agents/e2e_tests/integrate_datastream_with_agent_example.py
```
### Version and environment
MacOS 26.0.1
Java 11
Python 3.10
### Are you willing to submit a PR?
- [x] I'm willing to submit a PR!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Python code under e2e_test cannot import the mcp module [flink-agents]
Posted by "xintongsong (via GitHub)" <gi...@apache.org>.
xintongsong closed issue #276: [Bug] Python code under e2e_test cannot import the mcp module
URL: https://github.com/apache/flink-agents/issues/276
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org