Django – cannot import name ‘config’ from ‘decouple’

You might have decouple installed in additional to python-decouple (two different packages).

If that is the case simply uninstall decouple

pip uninstall decouple

And ensure you have python-decouple installed

pip install python-decouple

Leave a Comment

tech