简体中文 English 繁體中文 日本語 Русский
本文为静态镜像,内容以交互版为准 在交互式文档中心打开 →

Installation Reference

This document is a complete reference for installation methods (pip / uv / Docker / troubleshooting). If you just want to get started quickly, the 5-minute quick start covers the minimal workflow.

System Requirements

Installation Methods

Method 1: Install with pip

# Install ErisPulse
pip install ErisPulse

# Upgrade to the latest version
pip install ErisPulse --upgrade

uv is a faster Python toolchain, recommended for development environments.

Install uv

# Install uv with pip
pip install uv

# Verify installation
uv --version

Create a Virtual Environment

# Create a project directory
mkdir my_bot && cd my_bot

# Install Python 3.12
uv python install 3.12

# Create a virtual environment
uv venv

Activate the Virtual Environment

# Windows
.venv\Scripts\activate

# Linux/Mac
source .venv/bin/activate

Install ErisPulse

# Install ErisPulse
uv pip install ErisPulse --upgrade

If you only want to use epsdk as a global command-line tool, uv tool install is the cleanest approach—epsdk runs in an isolated tool environment, without polluting any project environments:

# Install (epsdk is immediately available, no need to activate any virtual environment)
uv tool install ErisPulse

# Upgrade (or directly use `epsdk self-update`, which will automatically use this channel)
uv tool upgrade ErisPulse

Note

When running epsdk in a project directory, the tool environment automatically detects the project's .venv: epsdk install installs components into the project environment, and epsdk run uses the project environment to run the bot. The framework itself remains provided by the tool environment, with no interference between the two.

Project Initialization and Module Installation

After installation, the complete workflow for project initialization, module installation, and execution is available in the 5-Minute Quick Start.

Method Three: Using the ErisPulse-App Client (No Terminal Required)

Don't want to install a Python environment? ErisPulse-App is the official cross-platform client (Android / Windows / Linux / macOS), allowing you to run directly on your phone. The desktop version supports minimizing to the system tray for background operation. It comes with a built-in Python runtime and ErisPulse SDK, eliminating the need for a terminal or manual configuration:

For complete instructions, see ErisPulse-App Installation and Usage.

Verification of Installation

Check Installation

# Check ErisPulse version
epsdk --version

Run Tests

# Run the project
epsdk run main.py

If you see output similar to the following, the installation was successful:

[INFO] Initializing ErisPulse...
[INFO] Adapter loaded: Yunhu
[INFO] Module loaded: MyModule
[INFO] ErisPulse initialization complete

Frequently Asked Questions

Installation Failed

  1. Check if the Python version is >= 3.10 (recommended 3.10 - 3.14; 3.14t free-threaded without GIL build is not officially supported yet, the framework is continuously monitored via experimental CI smoke tests)
  2. Try using uv pip install ErisPulse instead of pip install
  3. If permission errors occur, try pip install --user ErisPulse or use a virtual environment
  4. If SSL certificate errors occur under enterprise proxy environments, try pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org ErisPulse
  5. Ensure network connectivity and that the pip source is accessible

Configuration Errors

  1. Check if the config.toml syntax is correct (TOML format is sensitive to indentation and quotes)
  2. Confirm all required configuration items are filled
  3. Check terminal logs for detailed error information
  4. Use epsdk init to regenerate the configuration file

Module Installation Failed

  1. Confirm the module name is spelled correctly (case-sensitive)
  2. Check network connectivity
  3. Use epsdk list-remote to view the list of available modules
  4. Confirm the module is compatible with your current SDK version

Windows PowerShell Execution Policy

If PowerShell prompts "Cannot load the file... because running scripts is disabled on this system":

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

Debian/Ubuntu Virtual Environment Creation Failed

If the installation script prompts "Virtual environment creation failed" and the error message contains ensurepip is not available, it is because Debian/Ubuntu does not have python3-venv installed by default (the system Python's ensurepip is disabled):

sudo apt install python3.13-venv   # Install the corresponding package based on your actual Python version
# Or install the generic meta-package:
sudo apt install python3-venv

After installation, run the installation script again. The new installation script will actively detect this issue, prompt for confirmation, and attempt to automatically install the corresponding system package. Alternatively, you can use uv (uv venv does not depend on ensurepip).

Next Steps