burtn / imgproc-pygame

Drop in image processing with pygame
0 stars 1 forks source link

SystemError using cythoned version of imgproc.py on OS X 12E55 (10.8.4) and Python 2.7.3 #1

Open burtn opened 11 years ago

burtn commented 11 years ago

Example Error Message:

Traceback (most recent call last):
  File "../pink.py", line 13, in <module>
    image[x, y] = 250, 218, 221
  File "imgproc.py", line 51, in imgproc.Image.__setitem__ (imgproc.c:2256)
    self.image = internal_pxarray.make_surface()
SystemError: /Users/sysadmin/build/v2.7.3/Objects/methodobject.c:120: bad argument to internal function
burtn commented 11 years ago

Until such time as this is fixed please install the pure version as per the README or use the following one-liner: wget https://github.com/jake5991/imgproc-pygame/archive/master.zip && unzip master.zip && make install-pure

burtn commented 11 years ago

See also this stackoverflow question.