File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,20 @@ def print_version() -> None:
68
68
"""Prints version information of rasa tooling and python."""
69
69
py_info , os_info = sys .version .split ("\n " )
70
70
sdk_info = None
71
+ rasa_x_info = None
71
72
try :
72
73
import rasa_sdk
73
- sdk_info = rasa_sdk .__version__
74
+ sdk_info = rasa_sdk .__version__ # pytype: disable=import-error
75
+ except ModuleNotFoundError :
76
+ pass
77
+ try :
78
+ from rasax .community .version import __version__ as rasa_x_version # pytype: disable=import-error
79
+ rasa_x_info = rasa_x_version
74
80
except ModuleNotFoundError :
75
81
pass
76
82
print (f"Rasa Version : { version .__version__ } " )
77
83
print (f"Rasa SDK Version : { sdk_info } " )
84
+ print (f"Rasa X Version : { rasa_x_info } " )
78
85
print (f"Python Version : { py_info } " )
79
86
print (f"Operating System : { os_info } " )
80
87
print (f"Python Path : { sys .executable } " )
You can’t perform that action at this time.
0 commit comments