[ 
https://issues.apache.org/jira/browse/DATALAB-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17572903#comment-17572903
 ] 

Lihas commented on DATALAB-2667:
--------------------------------

Hello,

 

I am facing the same issue while executing a paragraph in a Notebook using 
Python. I have installed Apache Zeppelin on Ubuntu using the binary approach 
with all interpreters. I am using the Apache Zeppelin Version 0.10.1. Can 
anyone help how to solve this issue? I am getting this 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
 
 

> [AWS][Zeppelin] Error during zeppelin playbook running
> ------------------------------------------------------
>
>                 Key: DATALAB-2667
>                 URL: https://issues.apache.org/jira/browse/DATALAB-2667
>             Project: Apache DataLab
>          Issue Type: Bug
>      Security Level: Public(Regular Issues) 
>          Components: DataLab Main
>            Reporter: Ruslan Kulynych
>            Assignee: Oleksandr Polishchuk
>            Priority: Major
>              Labels: AWS, DevOps, pull-request-available
>             Fix For: v.2.5.2
>
>         Attachments: zeppelin_error_aws_playbook.PNG
>
>
> *Preconditions:*
> Zeppelin notebook is created
> {*}{*}{*}Steps to reproduce:{*}{*}{*}
> Run for example AirBNB_preparation.ipynb on Zeppelin
> *Actual result:*
>  # Error during code execution
> {code:java}
> org.apache.zeppelin.interpreter.InterpreterException: Fail to open 
> PythonInterpreter{code}
> *Expected result:*
>  # Notebook code execution is successful



--
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