Closed dosier closed 4 years ago
Do you have JDK?
Do you have JDK?
Yes, I have jdk1.8.0_261.jdk
Do you have 'JAVA_HOME'?
To find out, run this command in the terminal: echo $JAVA_HOME
This error is just due to the fact that the installation script does not find java. Setting the JAVA_HOME
variable should fix this problem.
Thanks, adding
export JAVA_HOME=$(/usr/libexec/java_home)
to my .bash_profile fixed the issue!
I am running MacOS 10.15.7 (Catalina), when trying to install the native library I get the following error:
I tried with python 3.7 and python 3.8 and with numpy 1.19.2.