diff --git a/requirements_3.9_arm64.txt b/requirements_3.9_arm64.txt index 056f8c6..7711a9c 100644 --- a/requirements_3.9_arm64.txt +++ b/requirements_3.9_arm64.txt @@ -8,7 +8,6 @@ cython==0.29.26 ffmpeg-python==0.2.0 Pillow==8.4.0 scikit-image==0.19.0 -numpy==1.21.4 scipy==1.7.3 tensorflow-macos==2.7.0 PyQt6==6.0.3 \ No newline at end of file diff --git a/scripts/0_setup.sh b/scripts/0_setup.sh index a4e6f94..aa02e77 100755 --- a/scripts/0_setup.sh +++ b/scripts/0_setup.sh @@ -48,10 +48,13 @@ if [[ ! -z "$architecture" ]]; then fi cython_pkg="$(cat $reqs_file | grep -E 'cython==.+')" - pip --no-cache-dir install $cython_pkg + pip --no-cache-dir install "$cython_pkg" + + numpy_pkg="$(cat $reqs_file | grep -E 'numpy==.+')" + pip install "$numpy_pkg" h5py_pkg="$(cat $reqs_file | grep -E 'h5py==.+')" - HDF5_DIR="$(brew --prefix hdf5)" pip --no-cache-dir install --no-build-isolation $h5py_pkg + HDF5_DIR="$(brew --prefix hdf5)" pip --no-cache-dir install --no-build-isolation "$h5py_pkg" fi pip --no-cache-dir install -r $reqs_file