【问题标题】:Apache Zeppelin on Windows: error creating python interpreterWindows 上的 Apache Zeppelin:创建 python 解释器时出错
【发布时间】:2019-08-14 23:21:47
【问题描述】:

我在 Windows 上尝试过 apache zeppelin,但在运行 python 解释器时遇到了麻烦。

执行 python 段落时显示错误:

org.apache.thrift.TApplicationException: Internal error processing createInterpreter
    at org.apache.thrift.TApplicationException.read(TApplicationException.java:111)
    at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:71)
    at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Client.recv_createInterpreter(RemoteInterpreterService.java:209)
    at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Client.createInterpreter(RemoteInterpreterService.java:192)
    at org.apache.zeppelin.interpreter.remote.RemoteInterpreter$2.call(RemoteInterpreter.java:169)
    at org.apache.zeppelin.interpreter.remote.RemoteInterpreter$2.call(RemoteInterpreter.java:165)
    at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.callRemoteFunction(RemoteInterpreterProcess.java:135)
    at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.internal_create(RemoteInterpreter.java:165)
    at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:132)
    at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:299)
    at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:407)
    at org.apache.zeppelin.scheduler.Job.run(Job.java:188)
    at org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:307)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

那时我可以在命令行输出中看到找不到某些路径。

DEBUG [2019-03-24 18:21:35,717] ({Exec Stream Pumper} RemoteInterpreterManagedProcess.java[processLine]:298) - Caused by: java.lang.RuntimeException: java.io.IOException: The system cannot find the path specified

日志文件目录为空。我尝试使用的 Python 二进制文件来自 Anaconda 3 发行版。 Zeppelin-env.cmd 包含行 set PYTHONPATH=I:\Anaconda3\python;zeppelin.python 变量的解释器设置中定义的完全相同。

请帮助找到解决错误的方法。

【问题讨论】:

标签: python windows apache-zeppelin


【解决方案1】:

可能你在设置时搞砸了,在这里你可以看到stepshere

【讨论】:

    猜你喜欢
    • 2017-07-15
    • 2017-07-11
    • 2018-08-13
    • 2018-07-17
    • 2017-04-12
    • 2017-05-14
    • 2017-08-18
    • 2019-06-16
    • 2016-02-23
    相关资源
    最近更新 更多