biolink / biolink-model-toolkit

A collection of useful python functions for looking up information and working with the Biolink Model
https://biolink.github.io/biolink-model-toolkit/
BSD 3-Clause "New" or "Revised" License
20 stars 11 forks source link

ModuleNotFoundError for linkml_runtime #58

Closed caufieldjh closed 3 years ago

caufieldjh commented 3 years ago

Related to this error and importing linkml: https://github.com/biolink/biolink-model-toolkit/issues/41

bmt/toolkit.py contains this import: from linkml_runtime.linkml_model.meta import SchemaDefinition, Element, ElementName, \

but throws ModuleNotFoundError: No module named 'linkml_runtime'

Is the module name just linkml?

sierra-moxon commented 3 years ago

@caufieldjh I can't reproduce this, unfortunately. I have feeling its a result of a difference in our virtual environments or python paths variables.

caufieldjh commented 3 years ago

Likely the case! I'll close it and re-open if it comes up again and I can assemble some more context.