Jump to content
Ultimaker Community of 3D Printing Experts
ChrisRiddell

Building/running cura from source

Recommended Posts

Hello,

I have a question is there any full guides on building and running cura from github master, On MacOS 10.12 as I have had no luck. I have solved many other errors before but just feels like I'm casing my tail so i thought I would ask if anyone has a guide.

I keep running into errors like these.

 

Traceback (most recent call last): File "setup.py", line 1, in    import setuptoolsImportError: No module named 'setuptools'make[2]: *** [PythonNetifaces-prefix/src/PythonNetifaces-stamp/PythonNetifaces-build] Error 1make[1]: *** [CMakeFiles/PythonNetifaces.dir/all] Error 2make: *** [all] Error 2

 

 

-- Found Protobuf: /usr/local/lib/libprotobuf.dylib (found suitable version "3.3.0", minimum required is "3.0.0") CMake Error at /usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find PythonInterp: Found unsuitable version "2.7.10", but required is at least "3.4.0" (found /usr/bin/python)Call Stack (most recent call first): /usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:375 (_FPHSA_FAILURE_MESSAGE) /usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/FindPythonInterp.cmake:149 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) cmake/FindSIP.cmake:32 (find_package) CMakeLists.txt:21 (find_package)

 

Share this post


Link to post
Share on other sites

Did you install python-3 for development? Cmake needs to be able to find python, so certain cmake files need to be at the right places. The python3-dev packages take care of this.

 

There does not seem to be a python3-dev package for OSX I can't find one,

Anyone with a mac how do I get cmake to find the python3 install as it keeps only finding MacOS's default python2 even after doing path changes that I found through googling.

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

  • Our picks

    • Ultimaker Cura | a new interface
      We're not only trying to always make Ultimaker Cura better with the usual new features and improvements we build, but we're also trying to make it more pleasant to operate. The interface was the focus for the upcoming release, from which we would already like to present you the first glance. 
        • Like
      • 97 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies
×

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!