Nighres build issues

Hi
I’m trying to install Nighres on a Macbook Pro macOS Big Sur 11.1.
I have the following requirements installed:
Python 3.7.6

openjdk version “1.8.0_152-release”
OpenJDK Runtime Environment (build 1.8.0_152-release-1056-b12)
OpenJDK 64-Bit Server VM (build 25.152-b12, mixed mode)

jcc in ./miniconda3/lib/python3.7/site-packages (3.3)

I downloaded nighres into
/Users/jameshartzell/nighres

When I try to run build.sh I get this:
(base) jameshartzell@MacBook-Pro nighres % ./build.sh
This script needs the following commands available: wget tar javac jar python3

I’d appreciate some guidance on how to resolve this–I’ve tried various things suggested in the troubleshooting but so far without success.

Cheers
James

Update
resolved wget with brew install wget and it appeared to add the other functionalities.
When running the test after nighres build and install I get a circular error:
(base) jameshartzell@MacBook-Pro ~ % python3.9 -c “import nighres”
Traceback (most recent call last):
File “”, line 1, in
File “/Users/jameshartzell/nighres/init.py”, line 3, in
from . import _nighresjava
ImportError: cannot import name ‘_nighresjava’ from partially initialized module ‘nighres’ (most likely due to a circular import) (/Users/jameshartzell/nighres/init.py)

or, using Python 3.7 (Mac default)
(base) jameshartzell@MacBook-Pro ~ % python3 -c “import nighres”
Traceback (most recent call last):
File “”, line 1, in
File “/Users/jameshartzell/nighres/init.py”, line 3, in
from . import _nighresjava
ImportError: cannot import name ‘_nighresjava’ from ‘nighres’ (/Users/jameshartzell/nighres/init.py)

any guidance will be helpful!
Cheers
James

Update2:
I tried reinstalling nighres, and rebuilding. Error persists. When I change directories I get another version of the message:
(base) jameshartzell@MacBook-Pro Downloads % python3 -c “import nighres”
Traceback (most recent call last):
File “”, line 1, in
File “/Users/jameshartzell/miniconda3/lib/python3.7/site-packages/nighres/init.py”, line 2, in
import nighres.brain
File “/Users/jameshartzell/miniconda3/lib/python3.7/site-packages/nighres/brain/init.py”, line 1, in
from nighres.brain.extract_brain_region import extract_brain_region
File “/Users/jameshartzell/miniconda3/lib/python3.7/site-packages/nighres/brain/extract_brain_region.py”, line 5, in
import nighresjava
ModuleNotFoundError: No module named ‘nighresjava’
&
(base) jameshartzell@MacBook-Pro Downloads % python3.9 -c “import nighres”
Traceback (most recent call last):
File “”, line 1, in
File “/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/nighres/init.py”, line 2, in
import nighres.brain
File “/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/nighres/brain/init.py”, line 1, in
from nighres.brain.extract_brain_region import extract_brain_region
File “/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/nighres/brain/extract_brain_region.py”, line 5, in
import nighresjava
ModuleNotFoundError: No module named ‘nighresjava’