You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2025/03/10 19:44:46 UTC

(airavata) 22/31: enabled micromamba base when starting the kernel

This is an automated email from the ASF dual-hosted git repository.

lahirujayathilake pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git

commit 118b1dcc180ba418367fe28a5bc46c0a59bccbef
Author: lahiruj <la...@gmail.com>
AuthorDate: Fri Feb 28 17:50:05 2025 -0500

    enabled micromamba base when starting the kernel
---
 modules/agent-framework/airavata-agent/agent.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/agent-framework/airavata-agent/agent.go b/modules/agent-framework/airavata-agent/agent.go
index 8f49057db3..3ae86fb793 100644
--- a/modules/agent-framework/airavata-agent/agent.go
+++ b/modules/agent-framework/airavata-agent/agent.go
@@ -52,7 +52,7 @@ func main() {
 
 	go func() {
 		log.Printf("Starting jupyter kernel")
-		cmd := exec.Command("python", "/opt/jupyter/kernel.py")
+		cmd := exec.Command("micromamba", "run", "-n", "base", "python", "/opt/jupyter/kernel.py")
 		//cmd := exec.Command("jupyter/venv/bin/python", "jupyter/kernel.py")
 		stdout, err := cmd.StdoutPipe()