Hi
has anybody got this hydrophone software installed correctly? I would appreciate any direction to resolve these issues.
I am having issues installing "tensorflow==2.3.1" (tensorflow 2.3.0 installs OK) and "LLVM_CONFIG=llvm-config-7 pip3 install llvmlite"
Tensorflow 2.3.1 returns the following error:
Python
pip3 install tensorflow==2.3.1
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: Could not find a version that satisfies the requirement tensorflow==2.3.1 (from versions: 1.12.0, 1.13.1, 1.14.0)
ERROR: No matching distribution found for tensorflow==2.3.1<blockquote class="quote"><div class="op">Quote:</div></blockquote>
LLVM_CONFIG=llvm-config-7 pip3 install llvmlite returns the following error:
Python
<blockquote class="quote"><div class="op">Quote:</div>(audioml) pi@hydrophone:~/UnderwaterSoundProcessing/audioml/Audio-Classification $ LLVM_CONFIG=llvm-config-7 pip3 install llvmlite
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting llvmlite
Using cached llvmlite-0.39.1.tar.gz (132 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: llvmlite
Building wheel for llvmlite (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
running bdist_wheel
/home/pi/UnderwaterSoundProcessing/audioml/bin/python /tmp/pip-install-vqkzoatf/llvmlite_318db4a8b23d4b74ae14a05a1818bebc/ffi/build.py
LLVM version... 7.0.1
Traceback (most recent call last):
File "/tmp/pip-install-vqkzoatf/llvmlite_318db4a8b23d4b74ae14a05a1818bebc/ffi/build.py", line 226, in <module>
main()
File "/tmp/pip-install-vqkzoatf/llvmlite_318db4a8b23d4b74ae14a05a1818bebc/ffi/build.py", line 216, in main
main_posix('linux', '.so')
File "/tmp/pip-install-vqkzoatf/llvmlite_318db4a8b23d4b74ae14a05a1818bebc/ffi/build.py", line 173, in main_posix
raise RuntimeError(msg)
RuntimeError: Building llvmlite requires LLVM 11.x.x, got '7.0.1'. Be sure to set LLVM_CONFIG to the right executable path.
Read the documentation at http://llvmlite.pydata.org/ for more information about building llvmlite.
error: command '/home/pi/UnderwaterSoundProcessing/audioml/bin/python' failed with exit code 1
[end of output]
note: This error originates from a subprocess, andis likely not a problem with pip.
ERROR: Failed building wheel for llvmlite
Running setup.py clean for llvmlite
Failed to build llvmlite
ERROR: Could not build wheels for llvmlite, which is required to install pyproject.toml-based projects</blockquote>