thornleyk / fuxi

Automatically exported from code.google.com/p/fuxi
0 stars 0 forks source link

Cannot import OWL from rdflib #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Run Fuxi.

resulting in the following error. I think this is because there is no OWL class 
in the rdflib-2.4.2 that I installed (I checked the rdflib egg file but could 
not find it).

Traceback (most recent call last):
  File "C:\Python27\Scripts\FuXi-script.py", line 8, in <module>
    load_entry_point('FuXi==1.3.production', 'console_scripts', 'FuXi')()
  File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\pkg_resources.
py", line 318, in load_entry_point
  File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\pkg_resources.
py", line 2221, in load_entry_point
  File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\pkg_resources.
py", line 1954, in load
  File "C:\Python27\lib\site-packages\FuXi\Rete\__init__.py", line 1, in <module
>
    from Network import ReteNetwork, InferredGoal
  File "C:\Python27\lib\site-packages\FuXi\Rete\Network.py", line 22, in <module
>
    from FuXi.Horn import ComplementExpansion, DATALOG_SAFETY_NONE, \
  File "C:\Python27\lib\site-packages\FuXi\Horn\__init__.py", line 2, in <module
>
    from FuXi.Syntax.InfixOWL import *
  File "C:\Python27\lib\site-packages\FuXi\Syntax\InfixOWL.py", line 111, in <mo
dule>
    from rdflib import OWL
ImportError: cannot import name OWL

What version of the product are you using? On what operating system?
I used Python 2.7 in windows and rdflib-2.4.2 and use easy_install to install 
fuxi.

Original issue reported on code.google.com by tv8...@gmail.com on 13 Oct 2011 at 8:57

GoogleCodeExporter commented 9 years ago
I am experiencing also this problem.
Snow Leopard + rdflib2.4+ python2.6

Original comment by an...@castilla.med.br on 14 Oct 2011 at 3:35

GoogleCodeExporter commented 9 years ago
Fixed with: 
http://code.google.com/p/fuxi/source/detail?r=b70cb5e956c8b2508fe0bed320afa917e5
3faf18

Original comment by chime...@gmail.com on 12 Nov 2011 at 2:32