Cx_freeze is not recognized as an internal or external command site:stackoverflow.com

I executed the command pip install cx-Freeze to create an executable for my Streamlit application. However, I am unable to locate the cx_Freeze file after installation. When I attempt to run the command cxfreeze myapp.py c:\mfa\test.exe, I receive an error stating that ‘cx_freeze’ is not recognized as an internal or external command. I would appreciate guidance on where cx_Freeze is located and how to properly create an executable for my Streamlit application.

I just finished getting cx_freeze working!

These are the steps I did

pip install virtualenv

python -m virtualenv streamlitDesktop
#And anything else you need
pip install streamlit cx_freeze 

.\streamlitDesktop\Scripts\activate

cd streamlitDesktop

#Setup needs to be done to run streamlit correctly.
cxfreeze -c setup.py  --target-dir toRun  --target-name MyStreamlitApp.exe