Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot import name 'Conformer' #32

Closed
cyy857 opened this issue Aug 25, 2021 · 1 comment
Closed

cannot import name 'Conformer' #32

cyy857 opened this issue Aug 25, 2021 · 1 comment

Comments

@cyy857
Copy link

cyy857 commented Aug 25, 2021

Hi when I tried to import conformer, I got this issue
>>> from conformer import Conformer Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/workspace/bert/conformer/conformer.py", line 3, in <module> from conformer import Conformer ImportError: cannot import name 'Conformer' from partially initialized module 'conformer' (most likely due to a circular import) (/workspace/bert/conformer/conformer.py)
I did as the installation instruction. Would you please see where I might be wrong? Thanks.

@sooftware
Copy link
Owner

Maybe your environmental problem.
How about python3 setup.py install?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants