Add requirements file for Python 3.10 (#49)
* Add requirements file for Python 10 * Add Python 3.10 to GitHub Actions * Upgrade opencv-contrib-python-headless to 4.5.4.58 for Python 10 * Upgrade scipy to 1.7.2 for Python 3.10 * Upgrade multiple deps * Use custom DFL branch for python 3.10 * Pre-install numpy for Python 3.10 * Switch to opencv-python
This commit was merged in pull request #49.
This commit is contained in:
committed by
GitHub
parent
a1c6ebd2c6
commit
90dc16b81a
@@ -62,6 +62,11 @@ if is_arm64; then
|
||||
|
||||
h5py_pkg="$(cat $reqs_file | grep -E 'h5py==.+')"
|
||||
HDF5_DIR="$(brew --prefix hdf5)" pip --no-cache-dir install --no-build-isolation "$h5py_pkg"
|
||||
elif [ "$version" == "3.10" ]; then
|
||||
(cd .dfl/DeepFaceLab; git checkout support-opencv45)
|
||||
|
||||
numpy_pkg="$(cat $reqs_file | grep -E 'numpy==.+')"
|
||||
pip install "$numpy_pkg"
|
||||
fi
|
||||
|
||||
pip --no-cache-dir install -r $reqs_file
|
||||
|
||||
Reference in New Issue
Block a user