neo4j-python

×

Error message

  • Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in _menu_load_objects() (line 579 of /data/wwwroot/includes/menu.inc).
  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /data/wwwroot/includes/common.inc).

การลง neo4j-python ใน ubuntu 10.04

อย่างแรก คือตอนนี้ผมใช้ ubuntu 10.04 แต่ต้องใช้ neo4j เพราะว่าใช้ใน thesis
เลยจะลงตัว neo4j-python ซึ่งเป็นตัว binding

ตัว neo4j เป็น graph database ตัวหนึ่งที่ opensource ให้ใช้ฟรี แบบ GFPL
ซึ่งอาจจะเรียกว่า เป็น nosql ตัวหนึ่ง ความพิเศษตรงที่มัน bindng python นี่ล่ะครับ
เพราะผมต้องการใช้ร่วมกับ django แถมมันมีตัวอย่าง app ที่สร้าง model ให้ โดยไม่ต้องแก้อะไรมาก
เปลี่ยนตรง model แทน เอาไว้พอคล่องเดี๋ยวคงมาเขียนบล็อก

เริ่มต้นเลย คือ เนื่องจากมันเป็น java ที่ binding มาครับ เลยต้องใช้ตัว binnding ทีแรกลง jython
แต่ใน ubuntu ลงไม่ได้ เพราะเป็นรุ่นเก่า 2.2 เลยต้องดึงมาจาก debian sid แทน

พอลงปุ้บ ก็เจอปัญหาเลย