suno-ai / bark

🔊 Text-Prompted Generative Audio Model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot import name 'SAMPLE_RATE' from partially initialized module 'bark'

AiDreamerOoO opened this issue · comments

ImportError: cannot import name 'SAMPLE_RATE' from partially initialized module 'bark' (most likely due to a circular import) (e:\bark\bark.py) 。Please tell me how to solve this problem. I tried to use Anaconda to deploy the virtual environment. After running the installation command, I ran the execution code on vscode, but I still got this error. I am using win11, and reinstalling the virtual environment will not work.

Did you clone the bark repository correctly? I never see the similar error in my experience.

rename e:\bark\bark.py, do not use name bark.py