Download setup.sh from Lucasgitguy-co/image3d-student: direct link, hf CLI and curl.
- Browser
- Download file 409 Bytes
-
https://huggingface.co/Lucasgitguy-co/image3d-student/resolve/main/setup.sh
- Command line
-
hf download hf://Lucasgitguy-co/image3d-student/setup.sh
-
curl -L -o setup.sh https://huggingface.co/Lucasgitguy-co/image3d-student/resolve/main/setup.sh
409 Bytes
| set -euo pipefail | |
| cd "$(dirname "$0")" | |
| export UV_CACHE_DIR="$PWD/.cache/uv" | |
| if ! command -v uv >/dev/null 2>&1; then | |
| echo "Install uv or create a Python 3.11–3.13 virtual environment and run: python -m pip install -e '.[test]'" | |
| exit 1 | |
| fi | |
| uv venv --python 3.13 .venv | |
| uv pip install --python .venv/bin/python -e '.[test]' | |
| echo "Ready. Run: source .venv/bin/activate && image3d doctor" | |