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
ImportError: cannot import name 'SafeConfigParser' from 'configparser' (/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/configparser.py). Did you mean: 'RawConfigParser'?
Received the above error when trying to run the example experiments provided.
The required site package ontospy/core attempts to import this module in its __init__.py file.
It seems SafeConfigParser is not compatible with python versions >= 3, so I replaced the call with the following:
from configparser import ConfigParser and the program compiled successfully.
The text was updated successfully, but these errors were encountered:
Received the above error when trying to run the example experiments provided.
The required site package
ontospy/core
attempts to import this module in its__init__.py
file.It seems SafeConfigParser is not compatible with python versions >= 3, so I replaced the call with the following:
from configparser import ConfigParser
and the program compiled successfully.The text was updated successfully, but these errors were encountered: