0

I have a script in Python with a GUI in QT (implemented through Qt designer and PySide) embedding a custom Mayavi widget.

I want to build it with cx_freeze, but I don't know if it is possible, because I wonder if I can freeze Mayavi?

NoDataDumpNoContribution
  • 10,591
  • 9
  • 64
  • 104
  • 1
    As a first action I would just try it. Did you already try it? – NoDataDumpNoContribution Jul 08 '14 at 08:16
  • Yes, i have already tried it, but without results. – user3812899 Jul 08 '14 at 14:07
  • What happened exactly? If an error message occured, could you post it? – NoDataDumpNoContribution Jul 08 '14 at 14:18
  • Ok if you can kindly write me you e mail address I will send you a folder with a very simple script embedding a Mayavi obect and the setup.py file used to launch cx_Freeze. – user3812899 Jul 08 '14 at 14:27
  • cx_freeze does not show any error, but when a I try to run the exe file, I see this: C:\Anaconda\Lib\sie-packages\traitsui\toolkit.py, line 51 in import toolkit, no module named qt4 – user3812899 Jul 08 '14 at 14:31
  • I have tried also with py2exe and this is the error (last line of the .log file) that appears when i double-click the exe: File "C:\Users\Mattia\Desktop\FreezeMayavi\building-temp\.\mayavi\preferences\preference_manager.py", line 24, in import pkg_resources ImportError: No module named pkg_resources – user3812899 Jul 08 '14 at 15:04

0 Answers0