From 5f433f46c25d19c04ec2c4848e200c3156a1b1aa Mon Sep 17 00:00:00 2001 From: jiangjiajun Date: Fri, 30 Aug 2019 10:43:05 +0800 Subject: [PATCH] fix version info --- x2paddle/convert.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x2paddle/convert.py b/x2paddle/convert.py index e22f69b..d8cca8d 100644 --- a/x2paddle/convert.py +++ b/x2paddle/convert.py @@ -165,7 +165,9 @@ def main(): args = parser.parse_args() if args.version: - print("x2paddle-{} with python>=3.5\n".format(x2paddle.__version__)) + import x2paddle + print("x2paddle-{} with python>=3.5, paddlepaddle>=1.5.0\n".format( + x2paddle.__version__)) return try: -- GitLab