BlasphemousBits
Posts: 3
Joined: Sat Jul 29, 2017 7:42 pm
Contact: Send private message

Help compiling PrusaControl?

Tue Aug 22, 2017 2:54 am

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?

waldemar.g
Posts: 73
Joined: Tue Dec 06, 2016 11:27 pm
Topics answered: 1
Contact: Send private message

Re: Help compiling PrusaControl?

Sat Sep 09, 2017 12:42 pm

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

BlasphemousBits
Posts: 3
Joined: Sat Jul 29, 2017 7:42 pm
Contact: Send private message

Re: Help compiling PrusaControl?

Sat Sep 09, 2017 3:00 pm

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,

Return to “Software”

Who is online

Users browsing this forum: No registered users and 3 guests