conda-setup
SKILL.md
Python Environment Setup
Use local conda environments instead of creating new venv/.venv to save disk space.
Conda Base Path
~/dev/mcd3
Workflow
-
Detect Python version (priority order):
- User argument:
/pyenv 3.10 .python-versionfilepyproject.toml→requires-pythonsetup.py→python_requires- Default: Python 3.10
- User argument:
-
Check available environments:
~/dev/mcd3/bin/conda env listCurrent environments:
py310→ Python 3.10openhands→ Python 3.xcode-agent→ Python 3.x
-
Activate environment:
source ~/dev/mcd3/bin/activate <env_name> -
Install dependencies:
pip install -r requirements.txt # For requirements.txt pip install -e . # For pyproject.toml or setup.py -
Output activation command:
To activate in your terminal: source ~/dev/mcd3/bin/activate <env_name>
Important Rules
- NEVER create
.venvor usepython -m venv - NEVER use
uv venvto create virtual environments - ALWAYS prefer existing conda environments
- If conflicts occur, create NEW conda environment (not venv)
Create New Conda Environment
~/dev/mcd3/bin/conda create -n <name> python=<version> -y
source ~/dev/mcd3/bin/activate <name>
Examples
| Command | Action |
|---|---|
/pyenv |
Auto-detect version and setup |
/pyenv 3.10 |
Use Python 3.10 environment |
/pyenv 3.11 |
Use or create Python 3.11 environment |
Weekly Installs
1
Repository
fancive/claude-skillsFirst Seen
11 days ago
Security Audits
Installed on
codex1