问题解决:AttributeError: module 'paddle' has no attribute 'reader'

Sue ·
更新时间:2024-09-21
· 534 次阅读

目录

解决的问题

解决的方法

解决的问题

AttributeError: module 'paddle' has no attribute 'reader'

runfile('F:/python_project/test1011.py', wdir='F:/python_project')
Traceback (most recent call last):

  File "", line 1, in
    runfile('F:/python_project/test1011.py', wdir='F:/python_project')

  File "d:\ProgramData\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
    execfile(filename, namespace)

  File "d:\ProgramData\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "F:/python_project/test1011.py", line 7, in
    import paddle.fluid as fluid

  File "d:\ProgramData\Anaconda3\lib\site-packages\paddle\fluid\__init__.py", line 52, in
    from . import io

  File "d:\ProgramData\Anaconda3\lib\site-packages\paddle\fluid\io.py", line 57, in
    ] + reader.__all__ + paddle.reader.__all__

AttributeError: module 'paddle' has no attribute 'reader'

解决的方法

更新中......


作者:Thinklov



module has paddle reader

需要 登录 后方可回复, 如果你还没有账号请 注册新账号
相关文章