setup_cares.py:156:27: F821 undefined name 'stdout'