1. Open CMD window with Administrator
  2. pip install pySerial pyQt5 modbus-tk pyInstaller
  3. download code from project (my backup repository on github)
  4. modify pathex to your path in pyModSlave.spec like the below
  5. run pyinstaller pyModSlave.spec
  6. step 5 will generation execute file and environment into 'dist' folder.

screenshot in the below

my pre-compiled binary file


This free site is ad-supported. Learn more