machinalis / iepy

Information Extraction in Python
BSD 3-Clause "New" or "Revised" License
906 stars 186 forks source link

Enhancement: PATH of $JAVAHOME #148

Open TerenceLiu98 opened 4 years ago

TerenceLiu98 commented 4 years ago

The $JAVAHOME should be point to /<JDK_PATH>/java directly, this might need pointed out in the installation. Since the usual way is $JAVA_HOME=/JAVA/PATH/bin/ or $JAVA_HOME=/JAVA/PATH/ . for instance, using apt to install OpenJDK-8, the path is : /usr/lib/jvm/java-8-openjdk-amd64/, hence, the $JAVAHOME is /usr/lib/jvm/java-8-openjdk-amd64/java ->

export JAVAHOME=/usr/lib/jvm/java-8-openjdk-amd64/java
Muaado commented 3 years ago

Hi, i am trying to run the installer on ubuntu but can't seem to go beyond installation lf sckitlearn . could you give some pointers

TerenceLiu98 commented 3 years ago

I am not quite understand the question, you mean it cannot be installed the package cannot installed with sklearn?

Muaado commented 2 years ago

I am not quite understand the question, you mean it cannot be installed the package cannot installed with sklearn?

rom featureforge>=0.1.5->iepy) (4.0.3) Building wheels for collected packages: scikit-learn Building wheel for scikit-learn (setup.py) ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6vtzk3qa/scikit-learn/setup.py'"'"'; file='"'"'/tmp/pip-install-6vtzk3qa/scikit-learn/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-xsfk1wjq cwd: /tmp/pip-install-6vtzk3qa/scikit-learn/ Complete output (901 lines): Partial import of sklearn during the build process. blas_opt_info: blas_mkl_info: customize UnixCCompiler libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu'] NOT AVAILABLE

This is the error I am getting when I try to install iepy