Update 0_setup.sh
This commit is contained in:
+2
-2
@@ -55,8 +55,6 @@ reqs_file="requirements${version_suffix}${architecture_suffix}.txt"
|
|||||||
|
|
||||||
echo "Using $reqs_file for $(python3 -V)"
|
echo "Using $reqs_file for $(python3 -V)"
|
||||||
|
|
||||||
cp -R .dfl/ffmpeg/ffmpeg .dfl/deepfacelab/lib/python3.11/site-packages/
|
|
||||||
|
|
||||||
if is_arm64; then
|
if is_arm64; then
|
||||||
if [[ -z "$(brew ls --versions hdf5)" ]]; then
|
if [[ -z "$(brew ls --versions hdf5)" ]]; then
|
||||||
echo "ERROR: HDF5 needs to be installed to run DeepFaceLab on M1 chip."
|
echo "ERROR: HDF5 needs to be installed to run DeepFaceLab on M1 chip."
|
||||||
@@ -82,6 +80,8 @@ fi
|
|||||||
|
|
||||||
pip --no-cache-dir install -r $reqs_file
|
pip --no-cache-dir install -r $reqs_file
|
||||||
|
|
||||||
|
cp -R .dfl/ffmpeg/ffmpeg .dfl/deepfacelab/lib/python3.11/site-packages/
|
||||||
|
|
||||||
source .dfl/env/bin/activate
|
source .dfl/env/bin/activate
|
||||||
|
|
||||||
echo "Done."
|
echo "Done."
|
||||||
|
|||||||
Reference in New Issue
Block a user