-
-
Save spladug/922144 to your computer and use it in GitHub Desktop.
The install script has moved to the main reddit repository: | |
https://github.com/reddit/reddit/blob/master/install-reddit.sh |
Silly Me.
After reinstalling the correct version of Ubuntu, I'm bailing on the same error as Cheapsteak:
ImportError: No module named lxml.sax
make: *** [r2/public/static/button.js] Error 1
I've manually installed lxml with "sudo apt-get install python-lxml" but the script still dies at this line.
I've tried to follow the steps on Lucid (10.04.3 LTS) but it fails on
$ make pyx
Traceback (most recent call last):
File "r2/lib/js.py", line 8, in
from r2.lib.i18n import get_available_languages
ImportError: No module named r2.lib.i18n
Traceback (most recent call last):
File "r2/lib/js.py", line 8, in
from r2.lib.i18n import get_available_languages
ImportError: No module named r2.lib.i18n
cython r2/models/_builder.pyx
Error converting Pyrex file to C:
...
def _tree_filter(self, x):
return tree_sort_fn(x) < self.after._id
def _viewable_message(self, m):
if (c.user_is_admin
or getattr(m, "author_id", 0) == c.user._id
^
/home/reddit/reddit/r2/r2/models/_builder.pyx:282:22: Call with wrong number of arguments (expected 2, got 3)
You need a newer version of Cython.
Note: we don't support Lucid any more and there're parts of the code that will not work on Python 2.6.
Yup, none of the packages in the PPA are compiled for Oneiric. There's a reason that version check is there :P