Add requirements file for Python 3.10 #49
@@ -16,7 +16,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
numpy==1.22.2
|
||||||
|
numexpr==2.8.1
|
||||||
|
opencv-python==4.5.5.62
|
||||||
|
scipy==1.8.0
|
||||||
|
tensorflow==2.8.0
|
||||||
|
colorama==0.4.4
|
||||||
|
tqdm==4.62.3
|
||||||
|
ffmpeg-python==0.2.0
|
||||||
|
Pillow==8.4.0
|
||||||
|
scikit-image==0.19.2
|
||||||
|
h5py==3.6.0
|
||||||
|
PyQt5==5.15.4
|
||||||
@@ -62,6 +62,11 @@ if is_arm64; then
|
|||||||
|
|
||||||
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"
|
||||||
|
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
|
fi
|
||||||
|
|
||||||
pip --no-cache-dir install -r $reqs_file
|
pip --no-cache-dir install -r $reqs_file
|
||||||
|
|||||||
Reference in New Issue
Block a user