Notifications
Clear all

Help compiling PrusaControl?  

  RSS
Build Stuff With Bob
(@build-stuff-with-bob)
New Member
Help compiling PrusaControl?

I'm trying to compile PrusaControl from source, and I'm running into some problems that I'm hoping someone can help me with.

My platform is Windows 10 64 bit. Here's what I've done so far:

  • I've forked a copy of the source and downloaded it.

  • I've downloaded and installed Python 3.5.

  • I used pip to install

  • numpy

  • numpy-stl

  • pyrr

  • pyopengl

  • pyopengl-accelerate

  • pyinstaller


  • Ran "pyinstaller PrusaControl_Win.spec"

  • based on errors with the pyinstaller command above, I created following directories:

  • C:\projects\slave\PrusaControl_Windows\build\data

  • C:\projects\slave\PrusaControl_Windows\build\translation

  • At this point, the pyinstaller command finished with errors and created a bunch of files under the build\PrusaControl_Win subdirectory under the source code directory.

    So far so good, but when I run the PrusaControl.exe file it pops up a window with the error message "Failed to execute script main".

    Any ideas what I'm missing?

    Publié : 22/08/2017 4:54 am
    3d-gussner
    (@3d-gussner)
    Reputable Member Prusa-Translations
    Re: Help compiling PrusaControl?

    Have the same issue and got no answer yet from Prusa github.

    Publié : 09/09/2017 2:42 pm
    Build Stuff With Bob
    (@build-stuff-with-bob)
    New Member
    Topic starter answered:
    Re: Help compiling PrusaControl?

    For anyone else having the same problem. I did get some help from the email address on the PrusaControl Github. Essentially it was 3 problems:

    1) Stopping trying to compile anything and just run "python main.py" (I guess I've spent to much time in c# land).
    2) By following the error messages in step 1, I figured out that, in addition to the dependencies listed in the readme, you also need to install a python module called "Image". "pip install image" seem to be the easiest way.

    That's at least got me a little closer,

    Publié : 09/09/2017 5:00 pm
    Partager :