python - Windows 上的 Apache Zeppelin : error creating python interpreter

标签 python windows apache-zeppelin

我曾在 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 变量的解释器设置中定义的完全相同。

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

最佳答案

可能您在设置时搞砸了一些东西,在这里您可以看到 steps还有here .

关于python - Windows 上的 Apache Zeppelin : error creating python interpreter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55325588/

相关文章:

python - python 中的谷歌电子表格读取脚本不从 cron 计划运行,但在我运行 shell 命令时工作

python - pandas 选择数据框中有条件的特定列与另一个条件导致串联

python - 无法在 matplotlib 中绘制条形图

windows - 无法在 Conda 环境中安装 Bioconda 软件包

apache-spark - 如何将 Spark 连接到 Zeppelin 中的 JDBC 驱动程序?

python - 如何使用 REST api 运行 zeppelin 笔记本并在 python 中返回结果?

python - 优化pdfminer

Windows 上的 Python。为什么读取文本比二进制文件慢 8 倍?

windows - 如何在IFileDialog中更改Places的图标和文本(“Application Links”)?

postgresql - 如何通过 Spark 中的 jdbc 连接到 docker 托管的 postgresql 数据库?