Kappa-Dev / KAMI

Bio-curation library for modelling cellular signalling
MIT License
7 stars 0 forks source link

Cannot import AttributeSetError #6

Closed slegare2 closed 6 years ago

slegare2 commented 6 years ago

First got

File "kami/hierarchy.py", line 8, in <module>
    from regraph import Rule, Hierarchy
ImportError: cannot import name 'Rule'

Changed line 8 in hierarchy.py to

from regraph.rules import Rule
from regraph.hierarchy import Hierarchy

Now I get error

File "regraph/attribute_sets.py", line 34, in <module>
    from regraph.exceptions import AttributeSetError
ImportError: cannot import name 'AttributeSetError'
eugeniashurko commented 6 years ago

Hi, did you try to reinstall ReGraph to the newest version (master branch)? Seems bizarre, cause everything should work according to ReGraph/regraph/__init__.py, but I will check now myself

slegare2 commented 6 years ago

Hi,

Sorry took a while to answer, I was at my favorite place in Lyon... Yea, I had forgotten to switch back to master branch in ReGraph. Sorry about this one. It all works well now.

Sebastien

On Wed, Feb 7, 2018 at 11:57 AM, Eugenia Oshurko notifications@github.com wrote:

Hi, did you try to reinstall ReGraph to the newest version (master branch)? Seems bizarre, cause everything should work according to ReGraph/regraph/init.py, but I will check now myself

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Kappa-Dev/KAMI/issues/6#issuecomment-363733356, or mute the thread https://github.com/notifications/unsubscribe-auth/AWPyVIGGkr8pSVGMyevn7zRBizhrai0xks5tSYGkgaJpZM4R8eKY .