We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c7f4a6 commit cab2897Copy full SHA for cab2897
1 file changed
kratos.gid/scripts/Launch.tcl
@@ -1,5 +1,6 @@
1
2
proc Kratos::InstallAllPythonDependencies { } {
3
+ package require gid_cross_platform
4
5
if { $::tcl_platform(platform) == "windows" } { set os win } {set os unix}
6
set dir [lindex [Kratos::GetLaunchConfigurationFile] 0]
@@ -8,7 +9,6 @@ proc Kratos::InstallAllPythonDependencies { } {
8
9
set python_version [pythonVersion $py]
10
if { $python_version <= 0 || [GidUtils::TwoVersionsCmp $python_version "3.9.0"] <0 } {
11
::GidUtils::SetWarnLine "Installing python"
- package require gid_cross_platform
12
if {$os eq "win"} {
13
gid_cross_platform::run_as_administrator [file join $::Kratos::kratos_private(Path) exec install_python_and_dependencies.win.bat ] $dir
14
} {
0 commit comments