Your import statement is wrong as you capitalized the c in config. Change from decouple import Config to:
from decouple import Config
from decouple import config
See https://simpleisbetterthancomplex.com/2015/11/26/package-of-the-week-python-decouple.html