Mode d’emploi
- Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
- Consultez le document original pour les outils, identifiants et environnements requis.
- Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/reflex-dev/agent-skills --skill setup-python-envAvant de commencer
- L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
- Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.
Python Environment Setup for Reflex
This skill handles creating a Python virtual environment and installing Reflex.
Step 1: Check for an existing virtual environment
Look for a .venv directory in the project root:
ls -d .venv 2>/dev/nullIf .venv exists, activate it and skip to Step 3.
source .venv/bin/activateStep 2: Create the virtual environment
If no .venv exists, determine which tools are available.
Option A: uv is available
Check if uv is installed:
uv --versionIf uv is found:
- If no
pyproject.tomlexists, initialize one:
uv init --bare- Create the virtual environment:
uv venv .venv- Activate it:
source .venv/bin/activateSkip to Step 3.
Option B: Fall back to python / pip
If uv is not available, check the Python version:
python3 --versionIf the version is older than 3.10, stop and inform the user:
Python 3.10 or newer is required. Please install a more up-to-date version of Python before continuing.
If the version is 3.10 or newer:
- Create the virtual environment:
python3 -m venv .venv- Activate it:
source .venv/bin/activate- Upgrade pip:
pip install --upgrade pipStep 3: Install Reflex
Check if Reflex is already installed:
pip show reflex 2>/dev/nullIf Reflex is not installed:
If using uv:
uv add reflexIf using pip:
pip install reflex



