Cannot import bertviz
kumori123 opened this issue · 1 comments
kumori123 commented
Hi
I installed bertviz by "pip install bertviz" on my server, but I cannot import it.
The error msg is
ImportError: cannot import name 'model_view' from partially initialized module 'bertviz' (most likely due to a circular import)
How could I solve it?
Thank you in advance!
jessevig commented
Hi @kumori123 are there any other directories / files named bertviz? Just looking at this issue: https://stackoverflow.com/a/66055075 . Not sure if this might happen if you do the pip install within the bertviz source.