cannot import name 'SAMPLE_RATE' from partially initialized module 'bark'
AiDreamerOoO opened this issue · comments
AiDreamerOoO commented
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.
George Lei commented
Did you clone the bark repository correctly? I never see the similar error in my experience.
firefly600 commented
rename e:\bark\bark.py, do not use name bark.py