MLi-lab-Bioinformatics-NJUCM / HerbiV

HerbiV是一个具有多种功能的中药网络药理学分析工具,可进行经典的网络药理学及反向网络药理学分析。HerbiV is a multi-functional traditional chinese medicine network pharmacology analysis tool for classical network pharmacology and reverse network pharmacology.
MIT License
20 stars 10 forks source link

ModuleNotFoundError: No module named 'get' #14

Closed Super-dong94 closed 5 months ago

Super-dong94 commented 8 months ago

下面错误如何修改? ModuleNotFoundError Traceback (most recent call last) Cell In[11], line 1 ----> 1 from herbiv import analysis 2 analysis.from_tcm_or_formula(['HVM0367', 'HVM1695'])

File D:\anaconda3\Lib\site-packages\herbiv\analysis.py:1 ----> 1 import get 2 import compute 3 import output

ModuleNotFoundError: No module named 'get'

Wesady commented 6 months ago

抱歉,是打包时候的问题,把 D:\anaconda3\Lib\site-packages\herbiv\analysis.py的import改成from . import就可以,比如from . import get