Open spiousas opened 1 year ago
Hi!
After checking the Python and Java versions (3.11.2 and 1.8.0_311) I installed actipy.
When I try to process the data as presented in the tutorial:
data, info = actipy.read_device("data/76985_01.cwa.gz", lowpass_hz=20, calibrate_gravity=True, detect_nonwear=True, resample_hz=50)
I have an error in line 49 of reader.py:
reader.py
data, info_read = _read_device(input_file, verbose) The error writes:
data, info_read = _read_device(input_file, verbose)
JVMNotFoundException: No JVM shared library file (libjli.dylib) found. Try setting up the JAVA_HOME environment variable properly.
I am running the code in a Macbook Pro M1 (2020) with 16 Gb of ram and MacOS Big Sur (11.4)
I tried to fix the error by changing the JAVA_HOME environmental variable bu none of the solutions I found worked out.
JAVA_HOME
Is it fixable?
When you run java --version in the terminal, what does it show?
java --version
1.8.0_311
Hi!
After checking the Python and Java versions (3.11.2 and 1.8.0_311) I installed actipy.
When I try to process the data as presented in the tutorial:
I have an error in line 49 of
reader.py
:data, info_read = _read_device(input_file, verbose)
The error writes:JVMNotFoundException: No JVM shared library file (libjli.dylib) found. Try setting up the JAVA_HOME environment variable properly.
I am running the code in a Macbook Pro M1 (2020) with 16 Gb of ram and MacOS Big Sur (11.4)
I tried to fix the error by changing the
JAVA_HOME
environmental variable bu none of the solutions I found worked out.Is it fixable?