Hi Park,

Thank you for response to this.
I thought that was caused in your pointing at the first, but the py4j had
already been installed in it.
I guessed the issue of depending on PATH or CLASSPATH environment
parameters as well.
They were not.

Indeed, it worked fine on other our Linux machine.
I am not sure yet what was wrong on the first Linux that was my best
dev-machine. :-b

Now i have been starting it to be clean-install on the new environment.
I would like to share this issue if it will be clear.

-Keiji


2017-09-01 12:35 GMT+09:00 Park Hoon <1am...@gmail.com>:

> Hi, I haven't used net installation version. But it seems that u need to
> install `py4j` python library as the error says
>
> > No module named py4j.java_gateway
>
> You can do easily `pip install py4j` with your python bin which related
> to the python interpreter in Zeppelin.
>
> On Tue, Aug 22, 2017 at 2:18 PM, 小野圭二 <onoke...@gmail.com> wrote:
>
>> Hi,
>>
>> This might be an old and popular issue, but i could not find the solution
>> on Jira, mail archive and so on.
>> The python demo does not work.
>>
>> [Env]:  CentOS 6.2  Python 2.6.6
>>          Zeppelin   0.7.2 netinst
>>                  beneath 'interpreter': jdbc,lib,md,python,shell,spark
>> [notebook]: from demo
>> %python
>> import matplotlib.pyplot as plt
>> plt.plot([1,2,3])
>>
>> Traceback (most recent call last):
>> File "/tmp/zeppelin_python-2865335277309763273.py", line 20, in <module>
>> from py4j.java_gateway import java_import, JavaGateway, GatewayClient
>> ImportError: No module named py4j.java_gateway
>> Traceback (most recent call last):
>> File "/tmp/zeppelin_python-2865335277309763273.py", line 20, in <module>
>> from py4j.java_gateway import java_import, JavaGateway, GatewayClient
>> ImportError: No module named py4j.java_gateway
>>
>> python is not responding
>>
>>
>> Any advice would be appreciated.
>>
>> -Keiji
>>
>
>

Reply via email to