Lihas created DATALAB-2949:
------------------------------

             Summary: Fail to open PythonInterpreter
                 Key: DATALAB-2949
                 URL: https://issues.apache.org/jira/browse/DATALAB-2949
             Project: Apache DataLab
          Issue Type: Bug
      Security Level: Public (Regular Issues)
         Environment: Ubuntu 20.04.4
Zeppelin 0.10.1
            Reporter: Lihas
         Attachments: Error message Zeppelin.JPG

Hello,

 

I am facing following issue while executing a paragraph in a Notebook using 
Python. I have installed Apache Zeppelin on Ubuntu using the binary approach 
with all interpreters (following following tutorial 
[https://www.vultr.com/de/docs/how-to-install-apache-zeppelin-on-ubuntu-16-04/)]

I am using the Apache Zeppelin Version 0.10.1 and Ubuntu VM in the version 
20.04.4.

Can anyone help how to solve this issue? I am getting this issue for all 
interpreter also for R.

 
org.apache.zeppelin.interpreter.InterpreterException: 
org.apache.zeppelin.interpreter.InterpreterException: Fail to open 
PythonInterpreter at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:76)
 at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:844)
 at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:752)
 at org.apache.zeppelin.scheduler.Job.run(Job.java:172) at 
org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:132)
 at 
org.apache.zeppelin.scheduler.FIFOScheduler.lambda$runJobInScheduler$0(FIFOScheduler.java:42)
 at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
 at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
 at java.base/java.lang.Thread.run(Thread.java:829) Caused by: 
org.apache.zeppelin.interpreter.InterpreterException: Fail to open 
PythonInterpreter at 
org.apache.zeppelin.python.PythonInterpreter.open(PythonInterpreter.java:123) 
at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
 ... 8 more Caused by: java.io.IOException: Fail to launch python process. 
org.apache.commons.exec.ExecuteException: Execution failed (Exit value: 
-559038737. Caused by java.io.IOException: Cannot run program "python" (in 
directory "."): error=2, No such file or directory) at 
org.apache.commons.exec.DefaultExecutor$1.run(DefaultExecutor.java:205) at 
java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.io.IOException: 
Cannot run program "python" (in directory "."): error=2, No such file or 
directory at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) 
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) at 
java.base/java.lang.Runtime.exec(Runtime.java:592) at 
org.apache.commons.exec.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:61)
 at org.apache.commons.exec.DefaultExecutor.launch(DefaultExecutor.java:279) at 
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:336)
 at org.apache.commons.exec.DefaultExecutor.access$200(DefaultExecutor.java:48) 
at org.apache.commons.exec.DefaultExecutor$1.run(DefaultExecutor.java:200) ... 
1 more Caused by: java.io.IOException: error=2, No such file or directory at 
java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at 
java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340) at 
java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271) at 
java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) ... 8 more 
at 
org.apache.zeppelin.python.PythonInterpreter.createGatewayServerAndStartScript(PythonInterpreter.java:170)
 at 
org.apache.zeppelin.python.PythonInterpreter.open(PythonInterpreter.java:120) 
... 9 more



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to