Lookup here …
venv – example (Ubuntu)
This guide covers creating your pywave_venv environment, upgrading tools, and installing the Textual framework.
1. Environment Setup
Run these once to create and enter your isolated workspace.
Bash
# Create the virtual environment python3 -m venv pywave_venv # Activate the environment source pywave_venv/bin/activate
2. Core Installation
Once activated, run these commands to ensure everything is current.
Bash
# Upgrade pip to the latest version python -m pip install --upgrade pip # Install Textual (plus dev tools for CSS live-reloading) pip install "textual[dev]"
3. Verify & Test
Check if the installation was successful by running the built-in demo.
Bash
# Run the Textual demo gallery python -m textual
💡 Daily Workflow Commands
| Goal | Command |
| Start Working | source pywave_venv/bin/activate |
| Stop Working | deactivate |
| Save Dependencies | pip freeze > requirements.txt |
| Reinstall from File | pip install -r requirements.txt |
| Check Version | pip show textual |