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
sudo aptitude install python-setuptools first if you don't have easy_install.
Or
mauve on 2010/04/05 13:58:
I had that; it's due to an older version of Cython. Do sudo easy_install -U cython