• fatal error: Python.h: No such file or directory:#include “Python.h”

    • Solution: apt-get install python-dev
  • RuntimeError: dictionary changed size during iteration

    • Example: for k in dictVar:dictVar.pop(k)
    • Solution:
      • Python2.x: for k in dictVar.keys(): dictVar.pop(k)
      • Python3.x: for k in list(dictVar): dictVar.pop(k)