HBNetwork / python-decouple

Strict separation of config from code.
MIT License
2.83k stars 196 forks source link

Getting import error when trying to import config from decouple #98

Closed DEADSEC-SECURITY closed 4 years ago

DEADSEC-SECURITY commented 4 years ago

So I'm trying to use decouple but I keep getting the following error: ImportError: cannot import name 'config' from 'decouple' (C:\Users\amng8\Desktop\Ruby\venv\lib\site-packages\decouple\__init__.py)

Any reason wy?

DEADSEC-SECURITY commented 4 years ago

Fixed by removing python library named decouple.

Basically I had 2 libraries decouple and python-decouple removing decouple worked for me