Hey Everyone !
I used to try out Pycam on a Ubutu virtual box on my mac, it worked flawlessly, but now I want to generate gcodes for bigger projects it takes too much time. I was thinking to install it directly on Mac OS (10.11) so I get full CPU power for computation.
I followed those instructions :http://www.shapeoko.com/wiki/index.php/PyCAM-MacOS Install Homebrew -> OK Compile & Install PyGTK -> OK Compile & Install PyOpenGL -> OK Compile & Install PyGTKGLExt -> OK Patch PyCAM (http://sandro.knot.org/pub/pycam.patch | patch -p0) -> OK, double checked that "import pygtk" and "pygtk.require("2.0")" were added to the file /src/pycam/Gui/init.py. Configure user environment -> OK, double checked that "\nexport PYTHONPATH=/usr/local/lib/python2.7/site-packages" was properly added into ~/.bashrc
Everything looks fine.
However when I try to launch Py cam I get :
$ ./pycam
Psyco is not available (performance will probably suffer slightly)
Enabled 2 parallel local processes
Fatal Python error: can't initialize module gtk.gtkgl
Abort trap: 6
To avoid this problem, I first thought that i would use the virtualised Pycam as a GUI sending calculations to a Pycam sever installed on the mac. Launching the server on the mac gives no error, so this definitely is a GUI issue.
$ ./pycam --start-server-only --server-auth-key=fietspomp --number-of-processes=4
Psyco is not available (performance will probably suffer slightly)
Enabled 4 parallel local processes
Allow remote processing
Started a local server.
Running a local server and waiting for remote connections.
But getting the virtualized Pycam and the mac Pycam to talk together is a pain in the ass too.
If the whole Pycam, with GUI, could work on the mac directly, that would be awesome.
How can I manage so Pycam can "initialize module gtk.gtkgl" ?
OpenGL and OSX seems to be quite hard to get working together (at least with the modules that pycam uses). What a pity!
I am afraid that this issue will not be solved within the foreseeable future since pycam is currently not actively maintained anymore (as far as I known).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey Everyone !
I used to try out Pycam on a Ubutu virtual box on my mac, it worked flawlessly, but now I want to generate gcodes for bigger projects it takes too much time. I was thinking to install it directly on Mac OS (10.11) so I get full CPU power for computation.
I followed those instructions :http://www.shapeoko.com/wiki/index.php/PyCAM-MacOS
Install Homebrew -> OK
Compile & Install PyGTK -> OK
Compile & Install PyOpenGL -> OK
Compile & Install PyGTKGLExt -> OK
Patch PyCAM (http://sandro.knot.org/pub/pycam.patch | patch -p0) -> OK, double checked that "import pygtk" and "pygtk.require("2.0")" were added to the file /src/pycam/Gui/init.py.
Configure user environment -> OK, double checked that "\nexport PYTHONPATH=/usr/local/lib/python2.7/site-packages" was properly added into ~/.bashrc
Everything looks fine.
However when I try to launch Py cam I get :
To avoid this problem, I first thought that i would use the virtualised Pycam as a GUI sending calculations to a Pycam sever installed on the mac. Launching the server on the mac gives no error, so this definitely is a GUI issue.
But getting the virtualized Pycam and the mac Pycam to talk together is a pain in the ass too.
If the whole Pycam, with GUI, could work on the mac directly, that would be awesome.
How can I manage so Pycam can "initialize module gtk.gtkgl" ?
Thans for your help.
Last edit: MAIRE 2016-01-18
OpenGL and OSX seems to be quite hard to get working together (at least with the modules that pycam uses). What a pity!
I am afraid that this issue will not be solved within the foreseeable future since pycam is currently not actively maintained anymore (as far as I known).