You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have installed and configured the library as you have instructed in the documentation. But I get this error:
from sematch.semantic.similarity import WordNetSimilarity
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Shahbaz\AppData\Local\Continuum\anaconda3\lib\site-packages\sematch\semantic\similarity.py", line 25, in
from sematch.semantic.sparql import EntityFeatures, StatSPARQL
File "C:\Users\Shahbaz\AppData\Local\Continuum\anaconda3\lib\site-packages\sematch\semantic\sparql.py", line 36
print query
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print query)?
The text was updated successfully, but these errors were encountered:
This library is meant to be used with Python 2.7 only. setup.py indicates this in the notes at the bottom, however the author should have mentioned it in the README, or have it output an error message when a user tries to install it with Python 3.x.
You can replace the print query in the C:\Users\Shahbaz\AppData\Local\Continuum\anaconda3\lib\site-packages\sematch\semantic\sparql.py with print(query).
Hi,
I have installed and configured the library as you have instructed in the documentation. But I get this error:
The text was updated successfully, but these errors were encountered: