Questions and Answers

0 Like 0 Dislike

Anonymous

KeyError: 'ENVIRON_CONFIG_DIRS'

When i try to use this tool of the first line, it shows error like: KeyError: 'ENVIRON_CONFIG_DIRS'. Do you know how to solve this problem?

14 EPATH = os.environ['ENVIRON_CONFIG_DIRS'].split()
     15 d = {}
     16 

/opt/anaconda3/lib/python3.7/os.py in __getitem__(self, key)
    676         except KeyError:
    677             # raise KeyError with the original key value
--> 678             raise KeyError(key) from None
    679         return self.decodevalue(value)
    680 

KeyError: 'ENVIRON_CONFIG_DIRS'

Report abuse

0 Responses

No other responses made.