Python Virtual Environment Manager

Create and use a per-project .venv for Python dependency isolation.

Updated Mar 2, 2026
One-click install
npx skills add https://github.com/tim72117/word --skill python-virtual-environment-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Python Virtual Environment Manager
Source: https://github.com/tim72117/word/tree/main/.agent/skills/python_venv_manager
Command: npx skills add https://github.com/tim72117/word --skill python-virtual-environment-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

這個技能確保所有 Python 相關操作都在隔離的虛擬環境 (.venv) 中執行,以避免污染全域環境或發生套件衝突。

Core Features & Use Cases

  • 自動建立並啟用虛擬環境 (.venv),確保專案依賴在隔離空間內安裝與執行。
  • 從 requirements.txt 安裝依賴,或可透過額外套件參數安裝。
  • 在執行 Python 腳本時,使用虛擬環境中的解譯器,保證可重現性與穩定性。

Quick Start

在專案根目錄建立或啟用 .venv,並使用 .venv/bin/python 執行您的 Python 腳本。

Frequently Asked Questions about Python Virtual Environment Manager

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

FAQPage Schema
How do I isolate Python dependencies to avoid polluting the global environment?

To isolate Python dependencies and avoid polluting the global environment, this Skill automatically creates a per-project virtual environment (.venv) and installs packages using its dedicated pip, ensuring clean separation.

How do I automatically install packages from requirements.txt in a virtual environment?

To install packages from requirements.txt in a virtual environment, the Skill activates a .venv and uses the venv's pip to read the file and install dependencies automatically for reproducible setups.

When do I need a Python virtual environment for my development workflow?

You need a Python virtual environment for development and CI workflows requiring reproducible setups and clean dependency separation, preventing version conflicts across different projects on the same machine.

How do I execute a Python script using a virtual environment interpreter?

To execute a Python script using a virtual environment interpreter, the Skill automatically invokes .venv/bin/python, guaranteeing that your script runs with the isolated dependencies and reproducible configurations.

Does this virtual environment manager work for CI workflows requiring reproducible setups?

Yes, this virtual environment manager works for CI workflows requiring reproducible setups by automatically creating a .venv when missing and executing Python scripts using the venv interpreter for stable builds.