Run2 robust env
Procedures for resolving environment conflicts, broken packages, and restricted system-wide access in Python.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill run2_robust_envAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.1 KB, 228 tokens by cl100k_base, as published. Nobody here has run it
Resolving Environment Conflicts
In research environments (e.g., containers), pip might face restricted system-wide access or broken distributions.
-
Handling Externally Managed Environments: If
pip installfails with "externally-managed-environment", use--break-system-packagescautiously or create a virtual environment (python -m venv). -
Fixing Broken Package Distributions:
- Symptoms:
OSError: cannot open shared object fileorWARNING: Ignoring invalid distribution ~orch. - Solution: Uninstall the broken distribution and reinstall.
pip uninstall <pkg> -y --break-system-packages pip install <pkg>==<version> --break-system-packages
- Symptoms:
-
Managing Missing Shared Objects: Always verify the installation of hardware-dependent libraries like
torchorflash-attnby running a basic script to import them.
Logging System State
Use python -VV and pip freeze to ensure the runtime state is documented for reproducibility.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.