Convert Python Script to Executable using Pyinstaller w/Anaconda (2020) - Pyinstaller for Beginners

preview_player
Показать описание
Learn how to convert your python script to an executable using Pyinstaller with Anaconda in 2020!

pyinstaller "path to python script" --onefile --icon="path to .ico file"

Рекомендации по теме
Комментарии
Автор

Finally solved my issue after searching all over the internet for 6+ hours. Thanks!!

gn
Автор

Thank you for sharing this content. It was exactly what I needed and it worked perfectly.

yosefmentzer
Автор

man thanks so much i was stressed for so long until i saw your video thanks im dropping a like and sub to show appreciation! 🔥🙏🙏

trip
Автор

I got it all to work until the very end. When I try to run my executable a window pops up but there is no text and it closes on its own right away. Any idea of a fix for that?

herbyerby
Автор

This worked somewhat well, however when I try and launch my .EXE file, it opens, and for a second it tells me that there is a traceback error to where I imported Numpy as np in my code, and then closes. I have followed the tutorial exactly as stated. Do you have any tips or any way to help?

lunarrvxlive
Автор

nice video, can you teach us how to reduce the amount of files in a executable? like the libraries we won't use inside that venv (i've made a file with uses pandas but not all the pandas, and it get 261mb 😢)

johnnyaraujo
Автор

Does pyinstaller convert the python script into something that can't be read or reverse engineered? Is it C code? How does it find your data files?

mikeberger
Автор

First of all thanks for the informative video. After compiling and running an .exe I get a import error for the numpy package. Numpy is obviously installed in the anaconda environment. I am using Python 3.8, Anaconda3 & pyinstaller 3.6. Any ideas on how to resolve this?

joshuas
Автор

thanks, very good and helpful tutorial

mtsz
Автор

hi franchyze923
Thanks for the tutorial. Can this be applied to Mac Version? What is out file for mac?.dmg?

JohnSmith-fdnz
Автор

my exe keeps closing, even with adding outputs at the end, trying auto-py-to-exe but still no solution

missingperson
Автор

Thanks so much!! How come the file size explodes with an .exe? .py file is 6 kb. .EXE file is 40 mb.

cargouvu
welcome to shbcf.ru