decouple import config

801 views
Skip to first unread message

Taufiq Subijantoro

unread,
Feb 21, 2023, 9:08:43 PM2/21/23
to Django developers (Contributions to Django itself)
 from decouple import config
ImportError: cannot import name 'config' from 'decouple' (C:\Users\taufi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decouple\__init__.py)

"How to fix the problem mentioned in the error message:

ThankYou

Anurag Chauhan

unread,
Feb 22, 2023, 8:36:26 AM2/22/23
to Django developers (Contributions to Django itself)
Try pip install python-decouple, and then run your program again.
Reply all
Reply to author
Forward
0 new messages