Badcaps.net Forum
Go Back   Badcaps Forums > Troubleshooting Hardware & Devices and Electronics Theory > Troubleshooting Laptops, Tablets, and Mobile Devices
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
Thread Tools Display Modes
Old 02-06-2023, 07:33 AM   #1
reformatt
Badcaps Veteran
 
reformatt's Avatar
 
Join Date: Feb 2020
City & State: Noosaville
My Country: Australia
Line Voltage: 240V 50hz
I'm a: Professional Tech
Posts: 748
Default Create MEAnalyzer executable from Github Python Scripts

Each new release of ME Analyzer only has the scripts but no executable file. It's handy for me to just run the exe in Windows, so came up with the following guide for those that might want it. Didn't see anywhere else how to do it, apologies if it is documented somewhere and I've just missed it.

ME Analyzer – create Windows executable from Python script from GitHub

1. Install Python 3.xx from https://www.python.org/downloads/ – select to add Python to PATH during installation. Current version is Python V3.11.

2. Open an elevated Windows Command Prompt Window to run the following steps.

3. Confirm Python is correctly installed; enter
py --version
(should return Python 3.xx.x if ok)

4. Confirm PIP is installed (should be part of the source installation of Python)
py -m pip --version
(should return pip 22.3.1 or similar)

5. Confirm PIP, setuptools and wheel are up to date;
py -m pip install --upgrade pip setuptools wheel

6. Install MEAnalyzer pre-requisites:
py -m pip install colorama crccheck pltable

7. Download source.zip from latest release of ME Analyzer:
https://github.com/platomav/MEAnalyzer/releases

8. Extract source.zip to a directory (e.g. C:\MEAnalyzer-r316)

9. In a command prompt window, install auto-py-to-exe:
py -m pip install auto-py-to-exe

10. Run auto-py-to-exe:
py -m auto_py_to_exe

11. From auto_py_to_exe GUI;
Script Location, Browse to path to extracted ME Analyzer contents above (e.g. C:\MEAnalyzer-r316) and select MEA.py
Select One File
Select Windows Based

12. Click Convert .PY to .EXE

13. Click Open Output Folder and copy MEA.exe to your MEAnalyzer directory.

14. Future versions of MEAnalyzer, you just need to proceed from step 7 usually.

Last edited by reformatt; 02-06-2023 at 07:40 AM..
reformatt is offline   Reply With Quote
Old 02-07-2023, 02:06 AM   #2
rediii
Badcaps Veteran
 
Join Date: Mar 2018
City & State: nrw
My Country: germany
I'm a: Knowledge Seeker
Posts: 353
Default Re: Create MEAnalyzer executable from Github Python Scripts

nice, this will help someone
rediii is offline   Reply With Quote
Old 02-07-2023, 11:16 PM   #3
mcplslg123
Badcaps Veteran
 
Join Date: Jun 2015
City & State: siliguri
My Country: india
Line Voltage: 220vac,60hz
I'm a: Professional Tech
Posts: 5,254
Default Re: Create MEAnalyzer executable from Github Python Scripts

@reformatt, Nice detailed steps. Though the information is available on net but its not in the same website. You have nicely summed it up.
mcplslg123 is offline   Reply With Quote
Old 02-09-2023, 01:18 AM   #4
SMDFlea
Super Moderator
 
Join Date: Jan 2018
City & State: York
My Country: UK
I'm a: Knowledge Seeker
Posts: 12,317
Default Re: Create MEAnalyzer executable from Github Python Scripts

G`day reformatt, nice guide, have added the link to the ME Cleaning guide thread - https://www.badcaps.net/forum/showth...826#post987826
SMDFlea is offline   Reply With Quote
Old 02-21-2023, 10:50 AM   #5
mOri
New Member
 
Join Date: Jan 2014
City & State: london
My Country: england
I'm a: Knowledge Seeker
Posts: 11
Default Re: Create MEAnalyzer executable from Github Python Scripts

i tried the steps you described but got an error
Attached Images
File Type: jpg Capture.JPG (35.9 KB, 46 views)
mOri is offline   Reply With Quote
Old 02-21-2023, 10:55 AM   #6
rediii
Badcaps Veteran
 
Join Date: Mar 2018
City & State: nrw
My Country: germany
I'm a: Knowledge Seeker
Posts: 353
Default Re: Create MEAnalyzer executable from Github Python Scripts

Quote:
Originally Posted by mOri View Post
i tried the steps you described but got an error
don't use "Select Windows Based", select the other option. this worked for me
rediii is offline   Reply With Quote
Old 02-21-2023, 09:10 PM   #7
reformatt
Badcaps Veteran
 
reformatt's Avatar
 
Join Date: Feb 2020
City & State: Noosaville
My Country: Australia
Line Voltage: 240V 50hz
I'm a: Professional Tech
Posts: 748
Default Re: Create MEAnalyzer executable from Github Python Scripts

Not sure about that error, as I don't see that on my system. Are you using Powershell or Command Console? I use the latter with admin rights.

Edit: Ok I see the error occurs after you launch the EXE. This has started happening on the latest release r318 (r316 did not have this problem). Can confirm using console based during exe creation solves the problem.

Last edited by reformatt; 02-21-2023 at 09:14 PM..
reformatt is offline   Reply With Quote
Old 02-25-2023, 02:54 PM   #8
alas3376
Badcaps Veteran
 
Join Date: Nov 2011
City & State: COTONOU
My Country: BENIN
Line Voltage: 220V 50Hz
I'm a: Professional Tech
Posts: 336
Default Re: Create MEAnalyzer executable from Github Python Scripts

thank you very much, that help me
alas3376 is offline   Reply With Quote
Old 03-09-2023, 11:16 PM   #9
churi
New Member
 
Join Date: May 2022
City & State: el cercada
My Country: Colombia
I'm a: Knowledge Seeker
Posts: 1
Default Re: Create MEAnalyzer executable from Github Python Scripts

very nice info .thanks. you helped me.
churi is offline   Reply With Quote
Old 03-11-2023, 05:43 AM   #10
hardware1
Badcaps Veteran
 
Join Date: Sep 2021
City & State: N/A
My Country: N/A
I'm a: Knowledge Seeker
Posts: 1,893
Default Re: Create MEAnalyzer executable from Github Python Scripts

I was wondering how to make (.exe) file for ME Analyzer, and I found this thread by a coincidence.
Thanks for sharing this helpful information, I tried with (MEAnalyzer-1.283.3-r312), got the same Error as in Post #5 and I avoided it by choose (Console Based). Now everything is working fine.
hardware1 is offline   Reply With Quote
Old 03-21-2023, 01:18 AM   #11
rotceh_dnih
Member
 
Join Date: Jun 2020
City & State: Wauchope,NSW
My Country: Australia
Line Voltage: 240VAC 50Hz
I'm a: Knowledge Seeker
Posts: 29
Default Re: Create MEAnalyzer executable from Github Python Scripts

Legend!

Just got my programmer today , I work in different locations from time to time & would like to know if this will allow me to run the exe on pc's without python installed?
rotceh_dnih is offline   Reply With Quote
Old 03-22-2023, 09:06 AM   #12
pushparaj26
New Member
 
Join Date: Sep 2021
City & State: thuraiyur
My Country: india
I'm a: Knowledge Seeker
Posts: 2
Default Re: Create MEAnalyzer executable from Github Python Scripts

thank you g
pushparaj26 is offline   Reply With Quote
Old 03-22-2023, 09:26 AM   #13
reformatt
Badcaps Veteran
 
reformatt's Avatar
 
Join Date: Feb 2020
City & State: Noosaville
My Country: Australia
Line Voltage: 240V 50hz
I'm a: Professional Tech
Posts: 748
Default Re: Create MEAnalyzer executable from Github Python Scripts

Quote:
Originally Posted by rotceh_dnih View Post
Legend!

Just got my programmer today , I work in different locations from time to time & would like to know if this will allow me to run the exe on pc's without python installed?
Yes, all dependencies are bundled into the exe. It runs on my workshop machine which does not have Python installed for example.
reformatt is offline   Reply With Quote
Old 03-25-2023, 03:31 AM   #14
Vesko356
Sharp Shooter
 
Vesko356's Avatar
 
Join Date: Aug 2018
City & State: Sofia
My Country: Bulgaria
I'm a: Hobbyist Tech
Posts: 1,637
Default Re: Create MEAnalyzer executable from Github Python Scripts

__________________
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Due to a lack of donations, server free space at a critical level, and possible closure of Bios Requests
all donations are welcome,
see the donate button at the bottom of the page, or
>>>>>
click on this link to donate via PayPal. <<<<<
Every donation made will go towards server fees and maintenance costs.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Doctrina est fructus dulcis, radicis amarae.
Vesko356 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Badcaps.net Technical Forums © 2003 - 2023
Powered by vBulletin ®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
All times are GMT -6. The time now is 01:28 PM.
Did you find this forum helpful?