Traceback (most recent call last):
File "xxx/lib/python3.8/site-packages/galerkin_transformer/model.py", line 2, in <module>
from libs.layers import *
ModuleNotFoundError: No module named 'libs'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "model_galerkin_transformer.py", line 7, in
from galerkin_transformer.model import
File "xxx/lib/python3.8/site-packages/galerkin_transformer/model.py", line 5, in
from layers import
ModuleNotFoundError: No module named 'layers'
用命令 “pip install galerkin-transformer”, 可以安装好这个包:
但是当我调用 “from galerkin_transformer.model import *” 语句时,会出现如下错误:
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "model_galerkin_transformer.py", line 7, in
from galerkin_transformer.model import
File "xxx/lib/python3.8/site-packages/galerkin_transformer/model.py", line 5, in
from layers import
ModuleNotFoundError: No module named 'layers'