agentsclimarketplace

Run2 robust env

Skill cxcscmu/SkillLearnBench/skills/b2-self-feedback-gemini-3-flash-preview/nlp-paper-reproduction/run2_robust_env

Procedures for resolving environment conflicts, broken packages, and restricted system-wide access in Python.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run2_robust_env

Assembled 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.

  1. Handling Externally Managed Environments: If pip install fails with "externally-managed-environment", use --break-system-packages cautiously or create a virtual environment (python -m venv).

  2. Fixing Broken Package Distributions:

    • Symptoms: OSError: cannot open shared object file or WARNING: 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
      
  3. Managing Missing Shared Objects: Always verify the installation of hardware-dependent libraries like torch or flash-attn by 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.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.