Environment
- OS: Windows 11 Home
- Python: 3.13.9 (Anaconda)
- Package: cua-agent v0.7.39
Problem
Running pytest tests/ -v in libs/python/agent causes fatal crash:
Fatal Python error: Aborted
- Caused by
huggingfacelocal_adapter.py importing torch
- OMP duplicate library conflict between Anaconda's numpy and cua's torch
Steps to Reproduce
- Clone repo on Windows 11 Home
- cd libs/python/agent
- pip install -e .
- pytest tests/ -v
Expected
Tests should run or skip gracefully
Suggested Fix
- Add
KMP_DUPLICATE_LIB_OK=TRUE to Windows setup docs
- Mock torch in tests to avoid actual import
- Add Windows setup guide in CONTRIBUTING.md
Environment
Problem
Running
pytest tests/ -vinlibs/python/agentcauses fatal crash:Fatal Python error: Abortedhuggingfacelocal_adapter.pyimporting torchSteps to Reproduce
Expected
Tests should run or skip gracefully
Suggested Fix
KMP_DUPLICATE_LIB_OK=TRUEto Windows setup docs