[pypy-dev] Taking pypy for a test drive

Greg Bowyer gbowyer at fastmail.co.uk
Fri Jul 13 15:37:57 CEST 2007

Sorry if this is an exceptional newbie post ...

Now that pypy has hit v1 I have tried using it for a few test examples, 
most of this stuff so far is a little bit simple, however one test is to 
run a django application that I am developing for someone with pypy 
rather that cpython

However when I fire up pypy i get the following from the django 
application, what am I missing here

greg at gregslaptop ~/projects/minesite/minesite $ ./pypy-c manage.py runserver
debug: WARNING: library path not found, using compiled-in sys.path
Traceback (most recent call last):
   File "?", line 32, in run_toplevel
   File "manage.py", line 11, in <module>
   File "/usr/lib/python2.4/site-packages/django/core/management.py", 
line 1736, in execute_manager
     execute_from_command_line(action_mapping, argv)
   File "/usr/lib/python2.4/site-packages/django/core/management.py", 
line 1626, in execute_from_command_line
line 66, in activate
     return real_activate(language)
line 29, in delayed_loader
     from django.conf import settings
   File "/usr/lib/python2.4/site-packages/django/conf/__init__.py", line 
149, in <module>
     __builtins__['_'] = first_time_gettext
TypeError: cannot set items on object

More information about the Pypy-dev mailing list