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

No module named Fairseq #38

Closed
Magenta-6 opened this issue Jun 15, 2023 · 3 comments
Closed

No module named Fairseq #38

Magenta-6 opened this issue Jun 15, 2023 · 3 comments

Comments

@Magenta-6
Copy link

This is not an error from your installer, but probably a glitch at my end.

As noted previously the installer works great and opens the gui which is really nice to use.
However when I later try to run the gui using StartBark.bat I get an error:

File "C:\Users\ABC\Bark-tts\bark_win\bark-gui\bark\hubert\pre_kmeans_hubert.py", line 16, in
import fairseq
ModuleNotFoundError: No module named 'fairseq'

I know the module is in there somewhere, because it comes up on the install, however
I don't know how to get the gui activation to find the module.

At present I activate the gui by simply reinstalling it again using windows_run.bat
which works fine, but seems un-necessary.
Putting this out there in case others have a similar issue.

Any suggestions would be appreciated - and thanks in advance.

@C0untFloyd
Copy link
Owner

You're not starting with StartBark.bat are you? windows_run.bat is both, installer and also runs the app.
Nevertheless if you encounter that error again you could try typing pip install fairseq@https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl into the shell window.

@Magenta-6
Copy link
Author

@C0untFloyd Thanks for your advice.
Awesome!

@AIhasArrived
Copy link

Is this problem related to this issue?
#83

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

3 participants