diff --git a/README.md b/README.md index 3410e08fc..6881fec25 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ ## Get Started ### Installation -> Ensure that Python 3.9+ is installed on your system. You can check this by using: `python --version`. +> Ensure that Python 3.9 or later, but less than 3.12, is installed on your system. You can check this by using: `python --version`. > You can use conda like this: `conda create -n metagpt python=3.9 && conda activate metagpt` ```bash diff --git a/setup.py b/setup.py index 8ba4c8a72..9fecfa766 100644 --- a/setup.py +++ b/setup.py @@ -109,7 +109,7 @@ setup( license="MIT", keywords="metagpt multi-agent multi-role programming gpt llm metaprogramming", packages=find_packages(exclude=["contrib", "docs", "examples", "tests*"]), - python_requires=">=3.9", + python_requires=">=3.9, <3.12", install_requires=requirements, extras_require=extras_require, cmdclass={