diff --git a/python/taichi/_lib/utils.py b/python/taichi/_lib/utils.py index af11a1da71523..3f2add67e1edb 100644 --- a/python/taichi/_lib/utils.py +++ b/python/taichi/_lib/utils.py @@ -169,7 +169,8 @@ def _print_taichi_header(): print(header) -_print_taichi_header() +if os.environ.get("ENABLE_TAICHI_HEADER_PRINT", True): + _print_taichi_header() def try_get_wheel_tag(module):