Re: Installation error - No such file or directory: 'javac'

2019-01-08 Thread NDelt
The result of "sudo which javac" is "/usr/bin/javac". I think there is no problem in javac's path. As a temporary measure, I changed JDK from Zulu to Oracle and now it works well. But I've set Zulu JDK path in setup.py file before type "sudo python setup.py install" command...so still I don't know

Re: Installation error - No such file or directory: 'javac'

2019-01-08 Thread Michael McCandless
Likely the "sudo" env does not have javac on its PATH? Try "sudo which javac" (if you use bash, or any shell that has the "which" command). Mike McCandless http://blog.mikemccandless.com On Tue, Jan 8, 2019 at 5:51 AM NDelt wrote: > I'm trying to install PyLucene on Ubuntu Linux and WSL,

Installation error - No such file or directory: 'javac'

2019-01-08 Thread NDelt
I'm trying to install PyLucene on Ubuntu Linux and WSL, and my development environment is Java 8 and Python 3.6.7. *python setup.py build* was successful, but I got an error after input *sudo python setup.py install *command. Error message: *Applied shared mode monkeypatch to: * *Traceback (most