Spaces:
Build error
Build error
Update setup_blender.sh
Browse files- setup_blender.sh +2 -1
setup_blender.sh
CHANGED
|
@@ -65,8 +65,9 @@ echo "PyTorch and Torchvision installation complete."
|
|
| 65 |
# --- Install the rest of the packages from unirig_requirements.txt SECOND ---
|
| 66 |
# This will now install torch-scatter, torch-cluster (using the -f flags in the file),
|
| 67 |
# and all other dependencies. Pip will skip torch/torchvision as they are already installed.
|
|
|
|
| 68 |
echo "Installing remaining packages from ${UNIRIG_REQS_FILE} (including torch-scatter/cluster via -f flags)..."
|
| 69 |
-
"${BLENDER_PY_EXEC}" -m pip install --no-cache-dir -r "${UNIRIG_REQS_FILE}"
|
| 70 |
|
| 71 |
echo "UniRig dependency installation for Blender Python complete."
|
| 72 |
|
|
|
|
| 65 |
# --- Install the rest of the packages from unirig_requirements.txt SECOND ---
|
| 66 |
# This will now install torch-scatter, torch-cluster (using the -f flags in the file),
|
| 67 |
# and all other dependencies. Pip will skip torch/torchvision as they are already installed.
|
| 68 |
+
# Added --no-build-isolation to potentially help builds find already installed packages like torch.
|
| 69 |
echo "Installing remaining packages from ${UNIRIG_REQS_FILE} (including torch-scatter/cluster via -f flags)..."
|
| 70 |
+
"${BLENDER_PY_EXEC}" -m pip install --no-cache-dir --no-build-isolation -r "${UNIRIG_REQS_FILE}"
|
| 71 |
|
| 72 |
echo "UniRig dependency installation for Blender Python complete."
|
| 73 |
|