Jump to content
Sign in to follow this  
magicxman

Compiling Cura 13.03 in OSX 10.8

Recommended Posts

Posted · Compiling Cura 13.03 in OSX 10.8

I am trying to compile latest github pull of Cura on 10.8.3 OSX and managed to setup the environment as well as package the .dmg file. The only problem is that after I installed the .dmg file which I packaged earlier, I tried to run Cura. Cura quits immediately. When I try to run cura.py using pythonw, the following error appears:

 

File "cura.py", line 15, in <module>

from Cura.util import profile

ImportError: No module named Cura.util

 

Anyone can help?

 

Share this post


Link to post
Share on other sites
Posted · Compiling Cura 13.03 in OSX 10.8

You need to run cura with pythonw -m Cura.cura

 

Share this post


Link to post
Share on other sites
Posted · Compiling Cura 13.03 in OSX 10.8

Thanks. I encountered another error:

ImportError: No module named objc

 

Share this post


Link to post
Share on other sites
Posted · Compiling Cura 13.03 in OSX 10.8

you need to have py-objc installed. Not sure from where.

 

Share this post


Link to post
Share on other sites
Posted · Compiling Cura 13.03 in OSX 10.8

Thanks for the tips. I have managed to compile, run and package successfully on 10.8. Hope fully this helps.

Follow the instructions in github Daid/Cura on OSX section. After that, try to run cura with pythonw -m Cura.cura

as per Daid's advice above.

 

Then there may be errors and try to install the missing modules:

 

easy_install pyobjc-core

easy_install pyobjc

 

pip install numpy

pip install PyOpenGL PyOpenGL_accelerate

pip install pyserial

pip install power

Finally, Cura should be able to be executed finely. Then only package it with ./package.sh darwin.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!