No module named 'XML2Dict'

hi,
how to get this XML2Dict to work

C:\Users\fitim>pip install XML2Dict
Collecting XML2Dict
Downloading XML2Dict-0.2.2.tar.gz (3.8 kB)
Could not build wheels for XML2Dict, since package ‘wheel’ is not installed.
Installing collected packages: XML2Dict
Running setup.py install for XML2Dict … done
Successfully installed XML2Dict-0.2.2

C:\Users\fitim>pip install xml2dict
Requirement already satisfied: xml2dict in c:\users\fitim\appdata\local\programs\python\python37\lib\site-packages (0.2.2)
Could not build wheels for xml2dict, since package ‘wheel’ is not installed.

C:\Users\fitim>pip install wheel
Collecting wheel
Using cached wheel-0.34.2-py2.py3-none-any.whl (26 kB)
Installing collected packages: wheel
Successfully installed wheel-0.34.2

C:\Users\fitim>pip install xml2dict
Requirement already satisfied: xml2dict in c:\users\fitim\appdata\local\programs\python\python37\lib\site-packages (0.2.2)

C:\Users\fitim>

#!/usr/bin/python3
import XML2Dict
import json

print(json.dumps(xml2dict.parse(’’’


elements
more elements


element as well


‘’’), indent=4))

import XML2Dict

ModuleNotFoundError: No module named ‘XML2Dict’

ou no it’s
xmltodict not the xml2dict, nice trick :slight_smile:

C:\Users\fitim>pip install xmltodict
Collecting xmltodict
Downloading xmltodict-0.12.0-py2.py3-none-any.whl (9.2 kB)
Installing collected packages: xmltodict
Successfully installed xmltodict-0.12.0