Requirements
Before installing the Tessa SDK, ensure you have:- Python 3.8 or higher installed on your system
- pip package manager (comes with Python)
- A Tessa API key from app.heytessa.ai/settings
You can verify your Python version by running:
Installation Methods
Method 1: Install from PyPI (Recommended)
The simplest way to install the Tessa SDK is via pip:Method 2: Install with Optional Dependencies
If you plan to use async features extensively:Method 3: Install from Source
For the latest development version:Method 4: Install in Virtual Environment (Recommended for Projects)
Create an isolated environment for your project:Configuration
Setting Your API Key
There are three ways to provide your API key to the SDK:- Environment Variable
- Direct Parameter
- Configuration File
Set the On Windows (Command Prompt):On Windows (PowerShell):In .env file:Then use the SDK without specifying the key:
TESSA_API_KEY
environment variable:On macOS/Linux:Verify Installation
After installation, verify everything is working:verify.py
Dependencies
The Tessa SDK has minimal dependencies:- httpx: Modern HTTP client with async support
- pydantic: Data validation using Python type annotations
- python-dotenv: Load environment variables from .env file (optional)
Upgrading
To upgrade to the latest version:Troubleshooting
Common Installation Issues
ImportError: No module named 'tessa'
ImportError: No module named 'tessa'
Solution: Ensure the SDK is installed in the correct Python environment:
SSL Certificate Errors
SSL Certificate Errors
Solution: Update certificates or use a different network:
Permission Denied Errors
Permission Denied Errors
Solution: Install in user space or use virtual environment:
Version Conflicts
Version Conflicts
Solution: Use a virtual environment to isolate dependencies:
Platform-Specific Notes
- macOS
- Windows
- Linux
On macOS, you might need to use If using Homebrew Python:
python3
and pip3
:Docker Installation
For containerized deployments:Dockerfile
Next Steps
Now that you have the SDK installed:Support
If you encounter any issues during installation:- Check our GitHub Issues
- Contact support at support@generalagency.ai