Download install.sh from LabBuddy26/Labference-Simulation: direct link, hf CLI and curl.
- Browser
- Download file 1.2 kB
-
https://huggingface.co/datasets/LabBuddy26/Labference-Simulation/resolve/main/install.sh
- Command line
-
hf download hf://datasets/LabBuddy26/Labference-Simulation/install.sh
-
curl -L -o install.sh https://huggingface.co/datasets/LabBuddy26/Labference-Simulation/resolve/main/install.sh
1.2 kB
| set -euo pipefail | |
| bundle_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)" | |
| if [[ $# != 1 ]]; then | |
| echo 'Usage: PYTHON_BIN=python3.11 bash install.sh /absolute/path/to/new-environment' | |
| exit 2 | |
| fi | |
| environment_path="$1" | |
| python_bin="${PYTHON_BIN:-python3.11}" | |
| "$python_bin" -c 'import sys; assert sys.version_info[:2] == (3,11), "Python 3.11 required"' | |
| if [[ -e "$environment_path" ]]; then | |
| echo 'Environment path already exists; choose a new directory.' | |
| exit 2 | |
| fi | |
| "$python_bin" -m venv "$environment_path" | |
| "$environment_path/bin/python" -m pip install --upgrade pip | |
| "$environment_path/bin/python" -m pip install 'isaacsim[all,extscache]==5.1.0' --extra-index-url https://pypi.nvidia.com | |
| "$environment_path/bin/python" -m pip install 'torch==2.7.0+cu128' 'torchvision==0.22.0+cu128' --index-url https://download.pytorch.org/whl/cu128 | |
| "$environment_path/bin/python" -m pip install -r "$bundle_dir/requirements.txt" | |
| "$environment_path/bin/python" -m pip check | |
| touch "$environment_path/.labference-install-complete" | |
| echo "Installed. Activate with: source \"$environment_path/bin/activate\"" | |
| echo 'At first Isaac Sim startup, review and accept the NVIDIA EULA if you agree.' | |