Skip to content

ModuleNotFoundError: No module named 'tcn' #81

@Knowledge-Stars

Description

@Knowledge-Stars

在终端中执行
python add_test.py
路径为:E:\AI_Projects\TCN\TCN\adding_problem>
发生如下报错:

Traceback (most recent call last):
  File "E:\AI_Projects\TCN\TCN\adding_problem\add_test.py", line 7, in <module>
    from TCN.adding_problem.model import TCN
  File "D:\anaconda\Lib\site-packages\TCN\__init__.py", line 1, in <module>
    from tcn.tcn import TCN, compiled_tcn, tcn_full_summary  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'tcn'

但Readme中并没有说明需要安装任何依赖和库,这究竟是什么问题?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions