In ubuntu you need to install python2.7-examples , although this still does not solve the problem.
After that, you will need to symbolically bind /usr/lib/python2.7/config to the fully qualified name in ubuntu, which is /usr/lib/python2.7/config-x86_64-linux-gnu/ ; after that I was able to use freeze.py without any problems.
user1529891
source share