About Archive Tag Cloud Translations RSS

You are writing a comment about Epic PyObjC, Part 2: Adding a Library & Bindings, here is a quick summary:

This is the second segment of the Epic Introduction to PyObjC tutorial series. This time we're looking at integrating the simple metaweb.py library into our project, as well as using Cocoa Bindings and an NSArrayController to make setting up an NSTableView as easy as possible.


You are responding to this comment written by Ken Ibrahim on September 9th 2009, 19:20.

Can you please describe the actual steps necessary to incorporate simplejson into the project?

I tried the 'sudo easy_install simplejson' which seems to encounter an error regarding "no egg...". So I downloaded the dist from PyPi and tried "Add to Project" which then produces 877 errors due to the _speedups.c file being accessed.

I also tried replacing the simplejson dir with one I had from Django. That didn't produce 877 errors, instead it keeps complaining that it can't find the simplejson module.

Someone please help as this tutorial was the best I could find on using Python for Mac programming until I reached this point.

Thanks!

Ken


Please be aware that comment forms go stale after one hour.





Comments may make use of LifeFlow MarkDown. Raw html will be escaped.


Quick Introduction to LifeFlow MarkDown Syntax

A highlighted code block:

@@ ruby
def a (b, c):
  b * c
end
@@

Other common languages work as well: scheme, python, java, html, etc.

Other markdown syntax:

 ### This is an h3 title
#### This is an h4 title
**this is bold**
*this is italics*

1. This is an
2. ordered list

* And an unordered
* list too

[this is a link](http://www.lethain.com/ "Lethain")