You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set reply [tk_messageBox -icon warning -type $msgBox_type -parent .gid \
135
-
-message "Python $py_version is installed, but there are some missing packages. Do you want Kratos to install them? \n\nPackages to be installed: \n$missing_packages"\
136
-
-title [_ "Missing python packages"]]
137
-
if {[string equal $reply"yes"]} {
138
-
Kratos::InstallAllPythonDependencies
139
-
}
140
-
if {[string equal $reply"cancel"]} {
131
+
}
141
132
133
+
procKratos::CheckDependenciesPipMode {} {
134
+
set ret 0
135
+
set py [Kratos::GetPythonExeName]
136
+
set py_version [Kratos::pythonVersion $py]
137
+
if {$py_version <= 0} {
138
+
set ret "MISSING_PYTHON"
139
+
} else {
140
+
set pip_version [Kratos::pipVersion]
141
+
if {$pip_version <= 0} {
142
+
set ret "MISSING_PIP"
143
+
} else {
144
+
set missing_packages [Kratos::GetMissingPipPackages]
0 commit comments