DEVELOPMENT TOOLING / huggingface
Hugging Face Python Environment Setup
Prepare an isolated Python environment for Hugging Face cloud tooling.
“Set up an isolated Python environment for SageMaker / AWS work, with the right Python version and current boto3. Use this skill whenever Python code will be executed for a SageMaker deployment, training job, or any AWS automation — including when about to run `pip install`, when about to invoke `boto3`, when creating or activating a virtualenv, or when the user asks to "set up the environment". Never use system Python and never `pip install` into it. Always isolate. This skill prevents the most common failure modes: wrong Python version, dependency conflicts, and stale SDKs.”
01 / THE REASONING
Why this made the selection.
- setup_env.py chooses uv or venv and checks the interpreter version; check_versions.py prints NOT INSTALLED without making that a failing exit status.
- Review interpreter selection and required SDK packages before a SageMaker example is run.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- skills/hf-cloud-python-env-setup/SKILL.md
- skills/hf-cloud-python-env-setup/scripts/setup_env.py
- skills/hf-cloud-python-env-setup/scripts/check_versions.py
- skills/hf-cloud-python-env-setup/requirements.txt
- LICENSE
- README.md
Our findings
- setup_env.py chooses uv or venv and checks the interpreter version; check_versions.py prints NOT INSTALLED without making that a failing exit status.
Not established by this review
- Third-party instructions and helpers were not executed; service access, host compatibility and outcomes remain untested.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Add a skill to your workflow.
DOCUMENTED COMMAND
npx skills add huggingface/skills/skills/hf-cloud-python-env-setup Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.
Optional: install the reviewed revision
Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.
npx skills add https://github.com/huggingface/skills/tree/c3ff942be3e07116b475253f0a8fc4f54682c1a8/skills/hf-cloud-python-env-setup - Install the pinned directory interactively and retain its referenced files; inspect the source before granting tool access.
- Choose a dedicated disposable environment path, inspect requirements, preserve anything valuable before recreation and verify imports separately after installation.
Before you start
- Python or uv, package-index access and the retained requirements.txt
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
https://github.com/huggingface/skills/blob/c3ff942be3e07116b475253f0a8fc4f54682c1a8/skills/hf-cloud-python-env-setup/SKILL.md
Supports: summary, review, install, access, limitations
https://github.com/huggingface/skills/blob/c3ff942be3e07116b475253f0a8fc4f54682c1a8/skills/hf-cloud-python-env-setup/scripts/setup_env.py
Supports: summary, review, install, access, limitations
https://github.com/huggingface/skills/blob/c3ff942be3e07116b475253f0a8fc4f54682c1a8/skills/hf-cloud-python-env-setup/scripts/check_versions.py
Supports: summary, review, install, access, limitations
https://github.com/huggingface/skills/blob/c3ff942be3e07116b475253f0a8fc4f54682c1a8/skills/hf-cloud-python-env-setup/requirements.txt
Supports: summary, review, install, access, limitations
- Pinned LICENSE ↗Checked
https://github.com/huggingface/skills/blob/c3ff942be3e07116b475253f0a8fc4f54682c1a8/LICENSE
Supports: license
- Pinned README.md ↗Checked
https://github.com/huggingface/skills/blob/c3ff942be3e07116b475253f0a8fc4f54682c1a8/README.md
Supports: summary, review, install, access, limitations