demonstrating what conceptnet can do...

23 views
Skip to first unread message

sabretooth

unread,
Dec 6, 2009, 6:27:35 PM12/6/09
to conceptnet-users
Hello

so far I have downloaded conceptnet-4.0rc1, conceptnet-sqlite, csc-
utils-0.4.2, distribute-0.6.8, divisi-0.6.8 and django1.1.1 and copied
them to my ubuntu laptop where installation took place. I think thats
everything needed for this to work, as far as I can tell everything
is configured as should be except for maybe pythonpath. In the Python
terminal when I try some basics from the website this is what i get:


Python 2.6.4rc2 (r264rc2:75497, Oct 20 2009, 02:55:11)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from csc.conceptnet4.models import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/ConceptNet-4.0rc1-
py2.6.egg/csc/conceptnet4/models.py", line 1, in <module>
from csc.conceptnet.models import *
File "/usr/local/lib/python2.6/dist-packages/ConceptNet-4.0rc1-
py2.6.egg/csc/conceptnet/models.py", line 2, in <module>
from django.db import models
ImportError: No module named django.db
>>>


Python 2.6.4rc2 (r264rc2:75497, Oct 20 2009, 02:55:11)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from csc.nl import get_nl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/ConceptNet-4.0rc1-
py2.6.egg/csc/nl/__init__.py", line 1, in <module>
from django.utils.functional import memoize
ImportError: No module named django.utils.functional
>>> import django
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named django
>>>


if i could get even that much to work it would nearly be enough, i
could build on that then.

Thanks for your responses so far, any help is appreciated





Rob Speer

unread,
Dec 7, 2009, 1:58:51 AM12/7/09
to conceptn...@googlegroups.com
It would appear that Django isn't installed in the version of Python
you're using.

If you type "sudo easy_install django", you should get it installed to
the right place.
-- Rob
> --
>
> You received this message because you are subscribed to the Google Groups "conceptnet-users" group.
> To post to this group, send email to conceptn...@googlegroups.com.
> To unsubscribe from this group, send email to conceptnet-use...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/conceptnet-users?hl=en.
>
>
>

sabretooth

unread,
Dec 7, 2009, 10:29:46 AM12/7/09
to conceptnet-users
Thanks Rob,

But when I type that command it tries to download from the web and my
ubuntu computer is not connected to the web. I did download django on
another computer and copied it over and ran the install, that seemed
to do the trick only now it cannot find the database. I will leave
this approach and return to it later, time is running out.

I have downloaded the virtual box version of ubuntu with conceptnet
and divisi supplied by erik cambria and have managed to get this
working on my windows box. I am getting results from the conceptnet
queries and overcoming python errors so this is something i can use
right away. Thanks for the help so far, I am sure I will be back for
more.

Gerry
> > For more options, visit this group athttp://groups.google.com/group/conceptnet-users?hl=en.- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages