python-venv
БесплатноБез исполняемых скриптовНе проверенManage Python virtual environments and dependencies. Use when setting up projects or installing packages.
от wildwasser★ 62 звезды на GitHubОб этом скилле
CRITICAL RULE
ALWAYS use .venv/bin/python and .venv/bin/pip - NEVER bare python or pip
This ensures you're using the project's virtual environment, not the system Python.
Environment Setup
Create New Environment
# Create venv
python3 -m venv .venv
# Activate (for interactive use)
source .venv/bin/activate
# Or use directly without activating
.venv/bin/python --version
Install Dependencies
# From requirements.txt
.venv/bin/pip install -r requirements.txt
# From pyproject.toml (if using pip)
.venv/bin/pip install -e .
# From pyproject.toml (if using poetry)
poetry install
# Single package
.venv/bin/pip install package-name
Update Dependencies
# Upgrade pip itself
.venv/bin/pip install --upgrade pip
# Upgrade a package
.venv/bin/pip install --upgrade package-name
# Freeze current state
.venv/bin/pip freeze > requirements.txt
Dependency Files
requirements.txt
requests>=2.28.0
pandas==2.0.0
pytest>=7.0.0
pyproject.toml (modern)
[project]
dependencies = [
"requests>=2.28.0",
"pandas==2.0.0",
]
[project.optional-dependencies]
dev = ["pytest>=7.0.0", "ruff"]
Troubleshooting
- "Module not found": Check you're using
.venv/bin/python - Permission errors: Don't use
sudowith pip in venv - Conflicting versions: Use
pip install --force-reinstall - Corrupted venv: Delete
.venv/and recreate
Установить python-venv в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл python-venv?
Manage Python virtual environments and dependencies. Use when setting up projects or installing packages.
Как установить скилл python-venv?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл python-venv запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic