ln -s /opt/X11/include/X11 /usr/local/include/X11
Otherwise it won't find it correctly.
This is awesome! Works great, just needed a little finesse on 10.8..... Need to do everything listed on this site and I was able to get it all working just fine. Had to install the command line tools from xcode, then install x11 from: http://xquartz.macosforge.orgThen link the files needed with JonA's post: ln -s /opt/X11/include/X11 /usr/local/include/X11Then compiled and continued from the rest of the install guide...Thanks for the hard work everyone!!!!!
On Friday, November 9, 2012 12:53:06 PM UTC-5, Jon Daniels wrote:
Seans-Mac-Pro:tkinter-pypy-0.1-for-8.5 seanj$ ../bin/pypy ./setup.py install
running install
running bdist_egg
running egg_info
writing tkinter_pypy.egg-info/PKG-INFO
writing top-level names to tkinter_pypy.egg-info/top_level.txt
writing dependency_links to tkinter_pypy.egg-info/dependency_links.txt
reading manifest file 'tkinter_pypy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'tkinter_pypy.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.6-x86_64/egg
running install_lib
running build_ext
building '_tkinter' extension
creating build/temp.macosx-10.6-x86_64-2.7
creating build/temp.macosx-10.6-x86_64-2.7/src
cc -arch x86_64 -fPIC -Wimplicit -DWITH_APPINIT -I/usr/include/tcl -I/usr/include/tk -I/Users/seanj/pypy-1.9/include -c src/_tkinter.c -o build/temp.macosx-10.6-x86_64-2.7/src/_tkinter.o
unable to execute cc: No such file or directory
error: command 'cc' failed with exit status 1
Seans-Mac-Pro:tkinter-pypy-0.1-for-8.5 seanj$
./bin/pypy ez_setup.py
Glad to hear it's working. I published that version of PyPy with Tkinter as a disk image on Thingiverse: http://www.thingiverse.com/thing:35883
To view this discussion on the web visit https://groups.google.com/d/msg/makerbot/-/ezHzgfDPdtsJ.--
You received this message because you are subscribed to the Google Groups "MakerBot Operators" group.
To post to this group, send email to make...@googlegroups.com.
To unsubscribe from this group, send email to makerbot+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/makerbot?hl=en.
When I saw Dan mention using PyPy to speed up Skeinforge slicing, I just had to try it.PyPy is an alternative python implementation that has a JIT compiler so it runs python much faster.Installing and using pypy for Skeinforge is not straight forward. If you don't use the correct software packages you run into a bunch of bugs and can't use PyPy. However, if you follow my instructions, it's easy to setup and takes less than 5 minutes.The result is two to five times faster Gcode generation in ReplicatorG when using Skeinforge.If you run into any issues, you can easily switch back to the standard python interpreter at any time.Here are my instructions for Mac OS X 10.7. I believe it will work for 10.6 and 10.8 too.1) In a *new* Terminal window, run the following commands. You should be in your home directory ('cd'). If you prefer, you can copy and paste all of them at once. Just watch for any errors.curl http://buildbot.pypy.org/nightly/trunk/pypy-c-jit-latest-osx64.tar.bz2 -o pypy-c-jit-latest-osx64.tar.bz2bunzip2 pypy-c-jit-latest-osx64.tar.bz2tar -xf pypy-c-jit-latest-osx64.tarcd pypy-c-jit-*-osx64
curl http://peak.telecommunity.com/dist/ez_setup.py -o ez_setup.py./bin/pypy ez_setup.pycurl http://www.foobarsoft.com/wp-content/uploads/2011/10/tkinter-pypy-0.1-for-8.5.zip -o tkinter-pypy-0.1-for-8.5.zipunzip tkinter-pypy-0.1-for-8.5.zipcd tkinter-pypy-0.1-for-8.5../bin/pypy ./setup.py install
2) In ReplicatorG go to the ReplicatorG Menu -> Preferences -> Advanced -> Select Python Interpretor...3) Select the 'bin/pypy' file. It will be inside a folder named something like pypy-c-jit-58765-034868cf23c4-osx64.For example mine is: jond -> pypy-c-jit-58765-034868cf23c4-osx64 -> bin -> pypy.4) Slice fast! No need to restart ReplicatorG.I suggest you time a slice before and after so you can be amazed by the speedup too. :)If in doubt as to which interpreter RepG is using, you can verify by running this command while RepG is generating gcode:ps auxw | grep py | grep -v conveyor | grep -v grepThe first line of the result will either contain something like 'pypy-c-jit-58765-034868cf23c4-osx64/bin/pypy' which means RepG is using PyPy, or '/usr/bin/python' which means RepG is python. Of course, you'll probably notice the progress bar is moving way faster when slicing, which may be all the verification you need.Cheers.
--
--
--
--
--
Dan
--
Bill
I am trying to install PYPY and I get an error at the end:
I cant seem to get this to work :( Have downloaded Xcode also python. Just get tkinter error in repg and this error on install?Kyles-MacBook-Pro-4:tkinter-pypy-0.1-for-8.5 kyleronan$ ../bin/pypy ./setup.py installrunning installrunning bdist_eggrunning egg_infowriting tkinter_pypy.egg-info/PKG-INFOwriting top-level names to tkinter_pypy.egg-info/top_level.txtwriting dependency_links to tkinter_pypy.egg-info/dependency_links.txtreading manifest file 'tkinter_pypy.egg-info/SOURCES.txt'reading manifest template 'MANIFEST.in'writing manifest file 'tkinter_pypy.egg-info/SOURCES.txt'installing library code to build/bdist.macosx-10.8-x86_64/eggrunning install_lib
running build_extbuilding '_tkinter' extensioncreating build/temp.macosx-10.8-x86_64-2.7creating build/temp.macosx-10.8-x86_64-2.7/src
cc -arch x86_64 -fPIC -Wimplicit -DWITH_APPINIT -I/usr/include/tcl -I/usr/include/tk -I/Users/kyle/pypy-c-jit-61334-6bf80dae95f7-osx64/include -c src/_tkinter.c -o build/temp.macosx-10.8-x86_64-2.7/src/_tkinter.o
unable to execute cc: No such file or directory
error: command 'cc' failed with exit status 1
--Kyles-MacBook-Pro-4:tkinter-pypy-0.1-for-8.5 kyle$
Any help?
On Friday, November 9, 2012 5:53:06 PM UTC, Jon Daniels wrote:When I saw Dan mention using PyPy to speed up Skeinforge slicing, I just had to try it.PyPy is an alternative python implementation that has a JIT compiler so it runs python much faster.Installing and using pypy for Skeinforge is not straight forward. If you don't use the correct software packages you run into a bunch of bugs and can't use PyPy. However, if you follow my instructions, it's easy to setup and takes less than 5 minutes.The result is two to five times faster Gcode generation in ReplicatorG when using Skeinforge.If you run into any issues, you can easily switch back to the standard python interpreter at any time.Here are my instructions for Mac OS X 10.7. I believe it will work for 10.6 and 10.8 too.1) In a *new* Terminal window, run the following commands. You should be in your home directory ('cd'). If you prefer, you can copy and paste all of them at once. Just watch for any errors.curl http://buildbot.pypy.org/nightly/trunk/pypy-c-jit-latest-osx64.tar.bz2 -o pypy-c-jit-latest-osx64.tar.bz2bunzip2 pypy-c-jit-latest-osx64.tar.bz2tar -xf pypy-c-jit-latest-osx64.tarcd pypy-c-jit-*-osx64curl http://peak.telecommunity.com/dist/ez_setup.py -o ez_setup.py./bin/pypy ez_setup.pycurl http://www.foobarsoft.com/wp-content/uploads/2011/10/tkinter-pypy-0.1-for-8.5.zip -o tkinter-pypy-0.1-for-8.5.zipunzip tkinter-pypy-0.1-for-8.5.zipcd tkinter-pypy-0.1-for-8.5../bin/pypy ./setup.py install2) In ReplicatorG go to the ReplicatorG Menu -> Preferences -> Advanced -> Select Python Interpretor...3) Select the 'bin/pypy' file. It will be inside a folder named something like pypy-c-jit-58765-034868cf23c4-osx64.For example mine is: jond -> pypy-c-jit-58765-034868cf23c4-osx64 -> bin -> pypy.4) Slice fast! No need to restart ReplicatorG.I suggest you time a slice before and after so you can be amazed by the speedup too. :)If in doubt as to which interpreter RepG is using, you can verify by running this command while RepG is generating gcode:ps auxw | grep py | grep -v conveyor | grep -v grepThe first line of the result will either contain something like 'pypy-c-jit-58765-034868cf23c4-osx64/bin/pypy' which means RepG is using PyPy, or '/usr/bin/python' which means RepG is python. Of course, you'll probably notice the progress bar is moving way faster when slicing, which may be all the verification you need.Cheers.
You received this message because you are subscribed to a topic in the Google Groups "MakerBot Operators" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/makerbot/lv9AupRqSnY/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to makerbot+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I cant seem to get this to work :( Have downloaded Xcode also python. Just get tkinter error in repg and this error on install?
Any help?
After installing XCode (v4.6.1 on OSX 10.7.5), the Command Line prefs can be installed under Preferences > Downloads > Command Line ToolsAbout a 145 meg download.
--
You received this message because you are subscribed to a topic in the Google Groups "MakerBot Operators" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/makerbot/lv9AupRqSnY/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to makerbot+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "MakerBot Operators" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/makerbot/lv9AupRqSnY/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to makerbot+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.