diff --git a/python/openmldb_sdk/setup.py b/python/openmldb_sdk/setup.py
index b2e2c071ef1..d500e6b53e6 100644
--- a/python/openmldb_sdk/setup.py
+++ b/python/openmldb_sdk/setup.py
@@ -30,8 +30,8 @@
     install_requires=[
         "importlib-metadata < 5.0",
         "sqlalchemy <= 1.4.9",
-        "IPython",
-        "prettytable",
+        "IPython <= 7.30.1",
+        "prettytable <= 3.4.0",
     ],
     extras_require={'test': [
         "pytest",