diff --git a/internal/sdk/sdk.go b/internal/sdk/sdk.go index 6d7444179..4e8108482 100644 --- a/internal/sdk/sdk.go +++ b/internal/sdk/sdk.go @@ -41,14 +41,8 @@ func UpdateEnvironmentAndReturnAdditionalParams(sdks []types.LsSdk, logger zerol case strings.Contains(strings.ToLower(sdk.Type), "java"): env["JAVA_HOME"] = path case strings.Contains(strings.ToLower(sdk.Type), "python"): - symlinks, err := filepath.EvalSymlinks(path) - if err != nil { - symlinks = path - } - env["PYTHONPATH"] = symlinks - env["PYTHONHOME"] = filepath.Dir(symlinks) - pathExt = filepath.Dir(symlinks) - additionalParameters = append(additionalParameters, "--command="+symlinks) + pathExt = filepath.Dir(path) + additionalParameters = append(additionalParameters, "--command="+path) case strings.Contains(strings.ToLower(sdk.Type), "go"): env["GOROOT"] = path }