When I echo $JAVA_HOME I am getting the path of Java. Hadoop is also running, but pydoop installation fails due to this error.
Traceback (most recent call last):
File "setup.py", line 54, in <module>
raise RuntimeError("java home not found, try setting JAVA_HOME")
RuntimeError: java home not found, try setting JAVA_HOME
I run setup command with sudo python setup.py install --skip-build.
As a non root user getting this error
running install
running install_lib
creating /usr/local/lib/python2.7/dist-packages/pydoop
error: could not create '/usr/local/lib/python2.7/dist-packages/pydoop': Permission denied
As you run your setup with sudo, it is run under root account, where possibly no JAVA_HOME is defined.
You can opt to:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With