Numba environment variable not set through .numba_config.yaml [duplicate]
问题 This question already has answers here : How to access environment variable values? (10 answers) Closed 12 months ago . Some environment variables can be set for numba, as specified in the doc: https://numba.pydata.org/numba-doc/dev/reference/envvars.html However, launching a python shell in the same folder, I cannot see the variable in os.environ : In [1]: !cat .numba_config.yaml warnings: 1 In [2]: import os; os.environ["NUMBA_WARNINGS"] -----------------------------------------------------