I have Django installed correctly on Python, but I am looking to get it functioning on Jython 2.5.3. I am using Django 1.4.3 and the linked tool, django-jython is version 1.3.0. I've run everything according to the various instructions on both the Django page and the django-jython page.
Attempting an "import django" while in the jython environment spits out a "package not found" error. A little digging prompted me to search for where "django/__init__.py" actually was, and the only place that seems to appear is in my Python27 site-packages. Jython's site-packages folder is totally empty save for an egg-info file spit out by the django-jython tool and a doj folder.
I guess my question is what should be there? This (http://stackoverflow.com/questions/9534244/manage-py-runserver-with-django-on-jython) seems to hint that there should be a jython-specific django thing somewhere, and pointing JYTHONPATH to the Python27 one doesn't work (not that I thought it would, but worth a shot). Where have I messed up?
I apologise if this is a basic question, but I didn't think I would have so much trouble just getting this thing to work.
-- You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment