Errors and solutions related to python

    • Q: No module named Cython.Distutils or No module named Cython.Distutils

    • A: pip install cpython, see ref1 or ref2

    • Q: Python 3 ImportError: No module named 'ConfigParser'

In [ ]:
pip install configparser
sudo cp /usr/lib/python3.6/configparser.py /usr/lib/python3.6/ConfigParser.py

In [ ]:
try:
    import configparser
except:
    from six.moves import configparser