toto on Ubuntu

I installed package cython, but still get this:

../toto/endless-path-7$ ./run_game.py
/var/lib/python-support/python2.6/pyximport/pyximport.py:23: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import imp, ihooks, glob, md5
Traceback (most recent call last):
  File "./run_game.py", line 7, in <module>
    import pyximport; pyximport.install(build_dir=path)
TypeError: install() takes no arguments (1 given)

(log in to comment)

Comments

I had that; it's due to an older version of Cython. Do sudo easy_install -U cython
Or sudo aptitude install python-setuptools first if you don't have easy_install.
Thanks mauve that worked.