Errors when running .exe produced by pyinstaller with conda

Heads up! You've already completed this tutorial.

R_de_Bruin | 2021-04-10 08:12:08 UTC | #1

When using conda, make sure to use the pyinstaller from the conda-forge channel instead of the one from conda. Conda gives you version 3.6 which for me did not work with the examples given here. conda-forge gives version 4.4 which does work.

so:

python
conda install pyinstaller -c conda-forge

1:1 Coaching & Tutoring for your Python GUIs project
Martin Fitzpatrick Python GUIs Coaching & Training
60 mins ($195) Book Now

1:1 Python GUIs Coaching & Training

Comprehensive code reviewBugfixes & improvements • Maintainability advice and architecture improvements • Design and usability assessment • Suggestions and tips to expand your knowledgePackaging and distribution help for Windows, Mac & Linux • Find out more.

Well done, you've finished this tutorial! Mark As Complete
[[ user.completed.length ]] completed [[ user.streak+1 ]] day streak
Martin Fitzpatrick

Errors when running .exe produced by pyinstaller with conda was written by Martin Fitzpatrick .

Martin Fitzpatrick has been developing Python/Qt apps for 8 years. Building desktop applications to make data-analysis tools more user-friendly, Python was the obvious choice. Starting with Tk, later moving to wxWidgets and finally adopting PyQt. Martin founded PythonGUIs to provide easy to follow GUI programming tutorials to the Python community. He has written a number of popular https://www.martinfitzpatrick.com/browse/books/ on the subject.