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 PATHduring install - Run:
python --version
pip --versionIf 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 cwtwbOr with uv:
uv tool install "cwprep[mcp]"Validation Checklist
python --versionworkspip --versionworkshello.pyruns in IDE
Common Issues
pythonnot 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.