python-virtual-env-manager

Create and manage isolated Python virtual environments with dependency locking.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/kongliuli/VibeSkills --skill python-virtual-env-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-virtual-env-manager
Source: https://github.com/kongliuli/VibeSkills/tree/main/Skills/Python/virtual-env-manager
Command: npx skills add https://github.com/kongliuli/VibeSkills --skill python-virtual-env-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Python projects often suffer from dependency conflicts and environment drift. This Skill provides tools and patterns to create, activate, and isolate virtual environments (venv, conda), manage dependencies via requirements.txt, lock versions, and handle multiple Python versions with pyenv, ensuring reproducible development setups.

Core Features & Use Cases

  • Virtual environment creation and isolation: Create and activate venv or conda environments to keep project dependencies separate.
  • Dependency maintenance and locking: Generate and lock requirements.txt, update specific packages, and ensure reproducibility across machines.
  • Multi-version Python management: Install and switch between Python versions (via pyenv) to validate compatibility across environments.
  • Use Case: For a new project, create a venv, install dependencies, and freeze exact versions to guarantee reproducible builds.

Quick Start

  • Create a new project directory.
  • Create a virtual environment: python -m venv venv
  • Activate the environment:
    • Windows: venv\Scripts\activate
    • macOS/Linux: source venv/bin/activate
  • Install dependencies: pip install -r requirements.txt
  • Lock dependencies: pip freeze > requirements.txt

Frequently Asked Questions about python-virtual-env-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create and activate a Python virtual environment for project isolation?

To create a Python virtual environment, run 'python -m venv venv' in your project directory. Activate the virtual environment by running 'source venv/bin/activate' on macOS/Linux or 'venv\Scripts\activate' on Windows to isolate project dependencies.

What is the best way to lock Python dependencies for reproducible builds?

Locking Python dependencies involves using 'pip freeze > requirements.txt' to capture exact package versions. This ensures reproducible builds across machines by maintaining strict version control within your virtual environment.

Can I manage multiple Python versions with pyenv for compatibility checks?

Yes, you can manage multiple Python versions with pyenv to validate compatibility. This skill supports installing and switching between Python versions to ensure your project works across different environment configurations.

Does this approach work with conda environments or only standard venv?

This approach works with both conda and standard venv environments. It supports creating, activating, and managing virtual environments across Python projects requiring either venv or conda for dependency isolation and maintenance.

Why do my Python project dependencies conflict and how do I isolate them?

Python dependency conflicts occur due to environment drift across projects. You isolate dependencies by creating a dedicated virtual environment using venv or conda, keeping project-specific packages separate and preventing version conflicts.