New issue 52 by tv8...@gmail.com: Cannot import OWL from rdflib
http://code.google.com/p/fuxi/issues/detail?id=52
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.
I am experiencing also this problem.
Snow Leopard + rdflib2.4+ python2.6
Comment #2 on issue 52 by chime...@gmail.com: Cannot import OWL from rdflib
http://code.google.com/p/fuxi/issues/detail?id=52
Fixed with:
http://code.google.com/p/fuxi/source/detail?r=b70cb5e956c8b2508fe0bed320afa917e53faf18