cfmrp / mtool

Software to Manipulate Different Flavors of Semantic Graphs
http://mrp.nlpl.eu
GNU Lesser General Public License v3.0
51 stars 24 forks source link

AttributeError: module 'inspect' has no attribute 'getmro' #66

Closed danielhers closed 5 years ago

danielhers commented 5 years ago

The following error occurs when trying to install mtool:

AttributeError: module 'inspect' has no attribute 'getmro'

The installation command is as specified in the README,

pip install git+https://github.com/cfmrp/mtool.git#egg=mtool

The reason is the new file inspect.py, which, when present in the current directory, overrides the Python standard library inspect module when it searches for it.