Python environment configuration