Eugene
Eugene

Reputation: 598

pyqtgraph pyinstaller build exe file

I tried to make an *.exe file from my python application that uses pyqtgraph and the pyqt library using pyinstaller. Pyinstaller makes a single *.exe file without errors, but when I try to start it, I get an error that pyqtgraph is not found.

How can I build a single *.exe file using pyinstaller?

Upvotes: 1

Views: 2188

Answers (1)

Luke
Luke

Reputation: 11644

Pyinstaller does not support dynamic imports, which are used in the latest release of pyqtgraph (0.9.8). However, the latest development code on github (http://github.com/pyqtgraph/pyqtgraph) does not use any dynamic imports, and may work better with pyinstaller.

Another option is to try py2exe, which does have support for dynamic imports.

Upvotes: 1

Related Questions