SmartDataAnalytics / BioKEEN

A computational library for learning and evaluating biological knowledge graph embeddings - please see the main PyKEEN repo at https://github.com/pykeen/pykeen/
https://github.com/pykeen/pykeen/
MIT License
46 stars 4 forks source link

A problem of installation based on Linux #28

Closed XuanLin1991 closed 4 years ago

XuanLin1991 commented 4 years ago

ImportError: cannot import name 'HAS_COMPONENT' from 'pybel.constants' (/home/linxuan/Anaconda3/envs/biokeen/lib/python3.7/site-packages/pybel/constants.py)

I don't know how to solve it.

cthoyt commented 4 years ago

Sorry, we removed this relationship in PyBEL v0.14. I think we can pin the dependencies to "pybel<0.14.0" in the setup.cfg and it will solve it

cthoyt commented 4 years ago

Also, we have begun a branch where we're upgrading to PyBEL 14 (but this requires updating a lot of bio2bel dependencies too and it will take a long time... maybe a christmas break project?)

XuanLin1991 commented 4 years ago

Hi, I download it again and thank you for your quick reply. I think BioKEEN will give me a great help to learn from it.