pyinstaller

Abdur-Rahmaan Janhangeer arj.python at gmail.com
Wed Jan 15 04:10:36 EST 2020


1) check if pyinstaller is installed correctly.

type:

pyinstaller

if you see unrecognised command, no worry, type this instead

python -m pyinstaller

if you get module not found, that means pyinstaller was not installed,
to install it type:

python -m pip install pyinstaller

2) How to use it.

No need to find the right directory.

Do a simple test. Type the following in a file

print(1)
input()

save it in file.py

now in the same path as file.py type:

pyinstaller file.py -F

it will generate a file.spec file

next type:

pyinstaller file.spec

and you should see a dist/ folder appearing

in it you shall see your executable file.

Any issue, let us know!

You might want to browse from scratch tutorials like this
<https://datatofish.com/executable-pyinstaller/>.

Yours,

Abdur-Rahmaan Janhangeer
pythonmembers.club <http://www.pythonmembers.club/> | github
<https://github.com/Abdur-rahmaanJ>
Mauritius

>
>


More information about the Python-list mailing list