diff --git a/autogpt/cli.py b/autogpt/cli.py index a2e99cb4..6fe9ecbb 100644 --- a/autogpt/cli.py +++ b/autogpt/cli.py @@ -70,6 +70,7 @@ def main( """ # Put imports inside function to avoid importing everything when starting the CLI import logging + import sys from colorama import Fore @@ -113,6 +114,15 @@ def main( f"You are running on `{git_branch}` branch " "- this is not a supported branch.", ) + if sys.version_info < (3, 10): + logger.typewriter_log( + "WARNING: ", + Fore.RED, + "You are running on an older version of Python. " + "Some people have observed problems with certain " + "parts of Auto-GPT with this version. " + "Please consider upgrading to Python 3.10 or higher.", + ) system_prompt = construct_prompt() # print(prompt) # Initialize variables