Pre-install numpy

This commit is contained in:
Oleksandr Chychkan
2022-02-04 10:25:48 -08:00
parent d822573429
commit 3f0958a141
2 changed files with 5 additions and 3 deletions
-1
View File
@@ -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
+5 -2
View File
@@ -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