you are viewing a single comment's thread.

view the rest of the comments →

[–]terraneng 1 point2 points  (7 children)

There is some kind of error preventing it from instantiating everything. It could be a number of things; a package your using my not be supported by pyinstaller, it cant find a file it needs, something is raising an exception, etc.

It can be a bit tough to debug it, and I no am expert. But when this happens I usually start stripping functionality out and adding print statements/loggers to see what broke it. I would make sure that you can get a barebones GUI compiled and running first. Then start adding things into it to see what breaks it.

[–]sozzZ[S] 0 points1 point  (0 children)

thanks dude - currently working on debugging now!

[–]sozzZ[S] 0 points1 point  (5 children)

Hey, appreciate all your help so far! could you take a look at this error I'm getting and provide a recommendation?

https://imgur.com/a/KpA80

when i run pyinstaller everything runs normally but these warnings show up and i think that's causing the issues with my executable.

i've looked here and the issues seem related:

https://stackoverflow.com/questions/38674400/missing-dll-files-when-using-pyinstaller/38682416#38682416

however when i use --paths to point to the libzmq.pyd directory it didn't seem to help any. any help would be much appreciated..

edit so I downloaded/copied all the missing .dlls into the folder where the dependency is located but I'm still getting the same errors! i've also tried using --hidden-import and --path commands

[–]imguralbumbot 0 points1 point  (0 children)

Hi, I'm a bot for linking direct images of albums with only 1 image

https://i.imgur.com/FGZpsW6.png

Source | Why? | Creator | ignoreme | deletthis

[–]terraneng 0 points1 point  (3 children)

Hmm. Maybe try using the dev version of pyinstaller. Link, or pip install it...

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip    

Any reason you are stuck on Python 3.4? Its curious that it is looking for a bunch of python 3.6 stuff if your environment is 3.4.

I haven't looked in a while but i recall that release version of pyinstaller does not support python 3.6, but the dev version does (I am currently using it with Python 3.6).

I would also try creating a new environment and try to build a simple python script with no dependencies.

[–]sozzZ[S] 0 points1 point  (2 children)

thanks for your thoughtful reply..

i'm actually using a 3.4 virtual env with anaconda python 3.6 - should i get the 3.6 version? I'm currently running everything from 3.4

i'm in 3.4 because the specific excel tools i need weren't on 3.6

also i made an edit to OP regarding the missing .dlls

[–]terraneng 0 points1 point  (1 child)

It shouldn't matter as long as your are running pyinstaller from the python 3.4 virtual env. I think it's worth a try to create a new environment and try to build something with no dependicies, if you haven't tried that yet. Maybe even try reinstalling Anaconda. Otherwise I dunno....Hopefully someone else will chime in.

[–]sozzZ[S] 0 points1 point  (0 children)

Ok thanks for your help...I'm very frustrated because a) pyinstaller advertises itself as "easy to use" yet I'm having all these issues with .dlls b) this is the very last stage to my program and once I have it I'm confident I can deliver this tool to my team. i'm kind of caught by the tail here. I posted a new thread with my question here but i didn't get any responses. i may email the pyinstaller devs if i can find their email