Everything you need to install before running PyToExe Converter.
- What You Need
- Install Python
- Verify Python Works
- Install PyInstaller
- Download PyToExe
- Run PyToExe
- Troubleshooting Install Problems
- Uninstalling Everything
Before you can run PyToExe Converter, you need exactly two things installed on your Windows machine:
| What | Why | Where to Get It |
|---|---|---|
| Python 3.6+ | PyToExe is written in Python and needs Python to run | python.org/downloads |
| PyInstaller | The engine that does the actual .py → .exe conversion |
Auto-installed by PyToExe, or: pip install pyinstaller |
That is it. Nothing else. No Visual Studio, no compilers, no .NET, no admin rights required for normal use.
Go to https://python.org/downloads
Click the big yellow "Download Python 3.x.x" button (the latest stable version).
Recommended: Python 3.10, 3.11, or 3.12 for best PyInstaller compatibility.
Double-click the downloaded .exe file.
CRITICAL — Before clicking Install Now:
┌──────────────────────────────────────────────────┐
│ Install Python 3.xx │
│ │
│ [x] Install launcher for all users │
│ [x] Add Python 3.xx to PATH ← CHECK THIS! │
│ │
│ [ Install Now ] [ Customize installation ] │
└──────────────────────────────────────────────────┘
You MUST check "Add Python to PATH" — if you miss this, nothing will work and you will have to reinstall.
Then click Install Now and wait for it to finish (usually 1–2 minutes).
When you see "Setup was successful", click Close.
Open Command Prompt:
- Press
Win + R - Type
cmd - Press Enter
Then type:
python --version
You should see something like:
Python 3.11.4
If you see that — Python is installed correctly. Move to Step 4.
If you see an error like 'python' is not recognized:
# Try this instead:
py --version
# Or this:
python3 --version
If none of those work, Python was not added to PATH. You need to either:
- Reinstall Python and check the "Add to PATH" box this time, OR
- Add it manually: see Troubleshooting
You can skip this step. PyToExe will detect that PyInstaller is missing and offer to install it automatically when you first press CONVERT.
But if you prefer to install it manually, open Command Prompt and run:
pip install pyinstallerWait for it to download and install (requires internet, usually takes 30–60 seconds).
Verify it installed:
pyinstaller --versionYou should see a version number like 6.3.0.
- Go to: github.com/MAliXCS/pytoexe-converter
- Click the green "Code" button
- Click "Download ZIP"
- Extract the ZIP anywhere you want, e.g.
C:\Tools\PyToExe\
If you have Git installed:
git clone https://github.com/MAliXCS/pytoexe-converter.gitThe entire application is just one file: py2exe_converter.py
You can download just that one file and put it anywhere on your computer.
Right-click py2exe_converter.py → Open with → Python
If you don't see Python in the list:
- Click "Choose another app"
- Browse to
C:\Python311\python.exe(or wherever Python installed) - Check "Always use this app"
- Click OK
cd C:\Tools\PyToExe
python py2exe_converter.py- Right-click on your Desktop → New → Shortcut
- In the location field, type:
(use your actual path)
python C:\Tools\PyToExe\py2exe_converter.py - Click Next, name it
PyToExe, click Finish - Double-click the shortcut anytime to launch
The splash screen will appear with a typing animation. Press any key or click anywhere to enter the main application.
If PyInstaller is not installed, you will be asked to install it. Click Yes — it will install automatically.
Python is not on your system PATH.
Fix Option A — Reinstall Python:
- Download Python again from python.org
- Run the installer
- This time, on the first screen, CHECK "Add Python to PATH"
- Finish installation
- Open a NEW Command Prompt and try again
Fix Option B — Add to PATH manually:
- Press
Win + S, search for "Environment Variables" - Click "Edit the system environment variables"
- Click "Environment Variables..."
- Under "System variables", find and click "Path", click "Edit"
- Click "New"
- Add:
C:\Python311(or wherever Python is installed) - Click "New" again
- Add:
C:\Python311\Scripts - Click OK on all windows
- Open a new Command Prompt and try
python --versionagain
pip is Python's package installer and should come with Python.
# Try this instead
python -m pip install pyinstaller
# Or
py -m pip install pyinstallerIf pip is missing entirely:
python -m ensurepip --upgrade# Add --user flag to install for current user only
pip install pyinstaller --userThis usually happens when you have multiple Python versions installed. PyToExe found a different Python than where you installed PyInstaller.
Fix: Use the "Change" button in Section 04 of the app to manually point to the correct python.exe where PyInstaller is installed.
You probably double-clicked py2exe_converter.py without Python set as the default program.
Fix: Open Command Prompt and run:
python C:\path\to\py2exe_converter.pyYou will see any error messages in the terminal.
This is rare on Windows but can happen with minimal Python installs.
Fix: Reinstall Python from python.org using the standard installer (not the Microsoft Store version). The standard installer always includes tkinter.
This is a false positive — a known, documented issue with all PyInstaller-built executables. The app is safe.
Fix:
- Open Windows Security → Virus & threat protection
- Click "Manage settings" under "Virus & threat protection settings"
- Scroll to "Exclusions" → "Add or remove exclusions"
- Add your output folder (e.g.
C:\projects\dist) - Build again
Just delete the py2exe_converter.py file (and its folder if you made one).
No registry entries. No system changes. Nothing else to remove.
pip uninstall pyinstallerGo to Settings → Apps → Installed Apps, find Python, click Uninstall.
Delete any folders named:
dist/__pybuild_tmp__/- Any
.specfiles
These are all in the same folder as whatever scripts you converted.