-
Notifications
You must be signed in to change notification settings - Fork 594
Open
Description
- 2023年12月28 安装了LAC,由于paddle也更新了,LAC 默认依赖安装最新paddle,就导致出现了下面的问题
root@02ad31ec7a86:/usr/src/app# pip freeze | grep LAC
LAC==2.1.2
root@02ad31ec7a86:/usr/src/app# pip freeze | grep paddle
paddlepaddle==2.6.0
root@02ad31ec7a86:/usr/src/app# python3.8
Python 3.8.10 (default, May 26 2023, 14:05:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import LAC
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.8/dist-packages/LAC/__init__.py", line 23, in <module>
from .lac import LAC
File "/usr/local/lib/python3.8/dist-packages/LAC/lac.py", line 28, in <module>
import paddle.fluid as fluid
ModuleNotFoundError: No module named 'paddle.fluid'
>>>
- 2023年12月25号安装LAC,此时自动安装的paddle 是2.5.2,是正常的
root@822ac3eecbc8:/usr/src/app# pip freeze | grep paddle
paddlepaddle==2.5.2
root@822ac3eecbc8:/usr/src/app# pip freeze | grep LAC
LAC==2.1.2
root@822ac3eecbc8:/usr/src/app# python3.8
Python 3.8.10 (default, May 26 2023, 14:05:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import LAC
>>>
AngelLiang, liwenju0, Copilot-X, william-hrwang, lizhecao and 2 more
Metadata
Metadata
Assignees
Labels
No labels