-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Cloned the repo and executed python pdf_to_csv.py.
Got this error :
Traceback (most recent call last):
File "pdf_to_csv.py", line 9, in <module>
import ConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
Replaced this with configparser (as it is named in Python3) and got the following error :
Traceback (most recent call last):
File "pdf_to_csv.py", line 16, in <module>
fileConfig('parsers/logging_config.ini')
File "/Users/fibinse/anaconda3/lib/python3.6/logging/config.py", line 76, in fileConfig
formatters = _create_formatters(cp)
File "/Users/fibinse/anaconda3/lib/python3.6/logging/config.py", line 109, in _create_formatters
flist = cp["formatters"]["keys"]
File "/Users/fibinse/anaconda3/lib/python3.6/configparser.py", line 956, in __getitem__
raise KeyError(key)
KeyError: 'formatters'
Is this script only-Python2 compliant ?