Closed Super-dong94 closed 5 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'
抱歉,是打包时候的问题,把 D:\anaconda3\Lib\site-packages\herbiv\analysis.py的import改成from . import就可以,比如from . import get
import
from . import
from . import get
下面错误如何修改? 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'