I am trying to create a package of my Python3 script using Pyinstaller. I have one query: will the bundled file in the dist folder include python3 as well?
Will that executable work on a system that does not have python3 installed?
I am using the following command to create a single executable file:
pyinstaller --onefile <python3_Script>.py
Following are the packages I am using in my script:
- import PyPDF4
- import requests
- import PySimpleGUI as sg
- import re
- import pandas as pd
I suggest reading the PyInstaller Manual which states
You may also be interested in What PyInstaller Does and How It Does It where you can find your answer
Also, keep in mind that