Windows Setup
此内容尚不支持你的语言。
Overview
Section titled “Overview”Clawdbot runs on Windows 10/11 with full feature support (except iMessage).
Requirements
Section titled “Requirements”- Windows 10 or 11
- Python 3.10+
- Git for Windows
Installation
Section titled “Installation”-
Install Python
Download from python.org
- ✅ Check “Add Python to PATH”
- ✅ Check “Install pip”
-
Install Git
Download from git-scm.com
-
Clone Clawdbot
Open PowerShell:
Terminal window git clone https://github.com/clawdbot/clawdbot.gitcd clawdbot -
Create virtual environment
Terminal window python -m venv venv.\venv\Scripts\Activate.ps1 -
Install dependencies
Terminal window pip install -r requirements.txt -
Configure
Terminal window copy .env.example .envnotepad .env
Running Clawdbot
Section titled “Running Clawdbot”Manual Start
Section titled “Manual Start”.\venv\Scripts\Activate.ps1python -m clawdbotAs a Windows Service
Section titled “As a Windows Service”Using NSSM (Non-Sucking Service Manager):
-
Download NSSM from nssm.cc
-
Install service:
Terminal window nssm install Clawdbot -
Configure:
- Path:
C:\path\to\clawdbot\venv\Scripts\python.exe - Arguments:
-m clawdbot - Startup directory:
C:\path\to\clawdbot
- Path:
-
Start service:
Terminal window nssm start Clawdbot
Using Task Scheduler
Section titled “Using Task Scheduler”- Open Task Scheduler
- Create Basic Task
- Trigger: “At startup”
- Action: Start a program
- Program:
C:\path\to\clawdbot\venv\Scripts\python.exe - Arguments:
-m clawdbot - Start in:
C:\path\to\clawdbot
- Program:
Troubleshooting
Section titled “Troubleshooting”Execution Policy Error
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserpip install fails
- Install Visual C++ Build Tools
- Try:
pip install --upgrade pip
Python not found
- Reinstall Python with “Add to PATH” checked
- Or add manually to System Environment Variables