I have already installed owlready, I am working with python 2.7, owlready version installed is Owlready 0.3. When I try to import owlready into a script, I get following error:
Asked
Active
Viewed 230 times
1

Stanislav Kralin
- 11,070
- 4
- 35
- 58

neha
- 55
- 9
-
Possible duplicate of [Explain Keyword-Only Arguments (VarArgs) in Python](https://stackoverflow.com/questions/4255091/explain-keyword-only-arguments-varargs-in-python) – mkrieger1 Jul 10 '17 at 11:23
-
This syntax is only supported in Python 3, not Python 2. – mkrieger1 Jul 10 '17 at 11:24
-
how to use owlready in python2 – neha Jul 10 '17 at 15:13
-
1Apparently you can't. https://pypi.python.org/pypi/Owlready says: *"Owlready (previously named Ontopy) is a module for ontology-oriented programming in Python 3."* – mkrieger1 Jul 10 '17 at 15:27
-
I am getting the same error in Python 3 – neha Jul 12 '17 at 10:03