Pre-install numpy
This commit is contained in:
@@ -8,7 +8,6 @@ cython==0.29.26
|
|||||||
ffmpeg-python==0.2.0
|
ffmpeg-python==0.2.0
|
||||||
Pillow==8.4.0
|
Pillow==8.4.0
|
||||||
scikit-image==0.19.0
|
scikit-image==0.19.0
|
||||||
numpy==1.21.4
|
|
||||||
scipy==1.7.3
|
scipy==1.7.3
|
||||||
tensorflow-macos==2.7.0
|
tensorflow-macos==2.7.0
|
||||||
PyQt6==6.0.3
|
PyQt6==6.0.3
|
||||||
+5
-2
@@ -48,10 +48,13 @@ if [[ ! -z "$architecture" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cython_pkg="$(cat $reqs_file | grep -E 'cython==.+')"
|
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==.+')"
|
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
|
fi
|
||||||
|
|
||||||
pip --no-cache-dir install -r $reqs_file
|
pip --no-cache-dir install -r $reqs_file
|
||||||
|
|||||||
Reference in New Issue
Block a user