Catalina finally seems to abandon python2.7; and add support to python3; which is a great news.
The not so great news is that Apple decided to make a "customized" version of python3, installed with the Xcode dev tools. The downside of this is that using Pyinstaller to build an executable on Catalina, result in an error, because Pyinstaller cannot find pyconfig.h
This file is included in the python3-dev package, which does not seem to exist on the python3 version installed by OSX dev tools. I tried to run pip3 install python3-dev and that would return an error, saying that there is no such package. I was able to find python-dev, but even installing this package, which I assume is the python2 version of it, does not solve the build problem in pyinstaller.
How do you use pyinstaller on Catalina? The only suggestion I was given is to use brew and install python3 from there, which at this point is quite a hard task, considering I already have python3 installed by the dev tools, and there is no way I can find, to remove it completely.