First, Ensure you have the matching python installed locally, as you'll need to copy some files over.
- Download get-pip.py and run
python get-pip.py. - Change the contents of
python39._pthto
python39.zip
.
.\Lib
.\Lib\site-packages
# Uncomment to run site.main() automatically
#import site
- Copy
pythonw.exetopythonww.exe(Don't ask why) - Pip install
python-ev3dev2.
After this, python -m build_exe should generate a good installer.