python - Trouble installing JCC (required for pylucene) on mac -
i following closely installation guide pylucene. unable past first step, requires installing jcc.
to install jcc instructions briefly note mac users need to:
edit setup.py , review values in includes, cflags, debug_cflags, lflags , javac correct system. these values going compiled jcc's config.py file , going used jcc when invoking distutils or setuptools compile extensions generating code for.
i not sure edit. have java 1.6 installed. when run setup.py (without edits), gives me error (which expect because haven't edited anything, instructed):
can't determine java jdk has been installed on machine. please set environment variable jcc_jdk location before running setup.py.
i novice coder, having trouble finding should edit in setup.py make work on mac? have tried putting in file path java, has not helped. advice appreciated, thanks!
Comments
Post a Comment