I am trying to compile a python program and I am using python 3.2. So I downloaded cx_freeze and installed it. When I try to run the setup.py
I experienced the same issue with python version 3.8.
I found when updating cx_freeze using a compiler, it converted to a pip install, and somehow removed the site-packages path from the %PATH% environment variable for the anaconda environment I was operating in.
From marcelotduarte at github,
If you have a C compiler, you can test the development version:
pip install -U git+https://github.com/marcelotduarte/cx_Freeze.git@develop
I uninstalled the module using pip uninstall cx_freeze, and then reinstalled using anaconda, conda install cx_freeze. This corrected the problem and aligned the path variables properly.