Man, what a pain in the butt it has been to get PyInstaller to work with 
Python 3.7 on Windows 10, but I finally got my Gtk3+ app to package and run.

First, I ran into a big issue with DLL's not being found.  See Issue #4125 
<https://github.com/pyinstaller/pyinstaller/issues/4125>.  To resolve that 
issue, I had to download and install the dev version of PyInstaller.  Then 
I implemented the proposed changes from Pull #4240 
<https://github.com/pyinstaller/pyinstaller/pull/4240>, including 
htgoebel's proposed edits.  Now, when I package my app, it finds all of the 
needed DLL's.

However, when running the packaged app, I got a "No module named 
'packaging.specifiers'" error.  I had to edit the 
site-packages/pkg_resources/__init__.py file.  I replaced the __import__() 
statements, lines 89-92, with regular import statements.  Repackaged the 
app and now it runs with no errors!  That is a huge relief.  

Hopefully, this information will help someone.  At a minimum, if should 
serve to confirm that the changes in Pull #4240, along with the proposed 
edits, do work and should be implemented.

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyinstaller.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/84b4310f-436b-4e55-be52-577cf132a94d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to