mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-01 17:17:24 -04:00
Root cause: Python adds script directory (not working directory) to sys.path. Services in /app/agent_tools/ couldn't import from /app/tools/ because sys.path[0] was /app/agent_tools. Solution: Set PYTHONPATH=/app when starting services so /app is always in the Python import path. Fixes: ModuleNotFoundError: No module named 'tools' in price.log