Python decouple error DEBUG not Found (SOLVED)

Hi i pip installed python decouple (I am not using a virtual environment)

I made an .env file in my django root directly where the file sits.

used this tutorial here : Secure Sensitive Django Variables using Python Decouple

My env file:

SECRET_KEY=adasdasdasd (Without quotes)


My settings file:

from pathlib import Path

import os

from decouple import config

# SECURITY WARNING: keep the secret key used in production secret!


# SECURITY WARNING: don't run with debug turned on in production!

DEBUG = config('DEBUG', cast = bool)

Here is the Error Image:

SOLVED it by:

 actually i made a new file by opening cmd prompt and then typing

 type nul > .env

 it wont let me rename or create otherwise.

 Thanks a lot solved :)