AGENT SKILL

Install Project Dependencies in Python 3.10

Use after activating Python 3.10 environment to install project dependencies without version conflicts. This ensures all packages are compatible with the target Python version.

License 许可
MIT
最近更新
2026-10-02
Stars
★ 93
Forks
7

01 前言 Front Matter

name
Install Project Dependencies in Python 3.10
description
Use after activating Python 3.10 environment to install project dependencies without version conflicts. This ensures all packages are compatible with the target Python version.

03 SKILL.md 正文

  1. Ensure Python 3.10 environment is activated:

    python -VV | grep "3.10"
    
  2. Upgrade pip, setuptools, and wheel:

    python -m pip install --upgrade pip setuptools wheel
    
  3. Install project dependencies:

    cd /root/SimPO
    python -m pip install -r requirements.txt
    

    Or if using environment.yml:

    conda env update --file environment.yml --prune
    
  4. Verify critical packages are installed for the project:

    python -c "import torch; import transformers; import numpy" && echo "Core dependencies OK"
    
  5. Log final environment state:

    python -VV > /root/python_info.txt
    python -m pip freeze >> /root/python_info.txt
    

04 同仓库更多 Skills