Back to guides
beginner10 min2026-04-28

02 | Python and IDE Setup for Datacooper Beginners

Complete Python and IDE setup with minimal steps so you can run cwprep/cwtwb examples reliably.

pythonidesetupbeginner

What You Will Learn

After this article, you should be able to run Python code locally and get output successfully.

Prerequisites

  • You finished 01 | Datacooper Beginner Path
  • Your machine can access the internet

Step 1: Install Python

  • Install Python 3.11 or higher
  • Check Add Python to PATH during install
  • Run:
python --version
pip --version

If both return versions, Python is ready.

Step 2: Install IDE

Use Cursor or VS Code.

  • Install IDE
  • Install Python extension
  • Create hello.py
print("Datacooper setup success")

Run it in the IDE and confirm output.

Step 3: Install Tool Dependencies

pip install -U pip
pip install "cwprep[mcp]"
pip install cwtwb

Or with uv:

uv tool install "cwprep[mcp]"

Validation Checklist

  • python --version works
  • pip --version works
  • hello.py runs in IDE

Common Issues

  • python not found: PATH was not set, reopen terminal or reinstall with PATH option
  • Install timeout: retry with stable network
  • IDE cannot run: verify selected Python interpreter

Next Step

Continue with MCP Setup and Connectivity Check.