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

WSL support #141

Open
rakuri255 opened this issue May 5, 2024 · 2 comments
Open

WSL support #141

rakuri255 opened this issue May 5, 2024 · 2 comments

Comments

@rakuri255
Copy link
Owner

BTW, I wouldn't mind to try the WSL solution, but I don't know how to follow after running the command:

sudo apt update && sudo apt install nvidia-cuda-toolkit

Because following the tutorial makes this issue:

/mnt/c/Programas/UltraSinger-WSL$ .venv\Scripts\activate
.venvScriptsactivate: command not found
/mnt/c/Programas/UltraSinger-WSL$ cd .venv
/mnt/c/Programas/UltraSinger-WSL/.venv$ ls -a
.  ..  bin  include  lib  lib64  pyvenv.cfg
/mnt/c/Programas/UltraSinger-WSL/.venv$ cd Scripts
-bash: cd: Scripts: No such file or directory

I imagine that the instructions for using python on linux would be different, but I never used so I don't know how to proceed.

Originally posted by @BanCrash in #140 (comment)

@BanCrash
Copy link

BanCrash commented May 18, 2024

Ok, after a lot of try and error, just found the way to use in WSL. However, since I have to try and install a lot of things, I don't remember the full steps, but here I'll write some of them at least.

Some previous steps (not all the necessary previous steps unfortunately):

Installing python venv:
sudo apt-get install python3-venv

Setting up the venv:
python3 -m venv .venv

Installing ffmpeg on WSL (thanks to https://gist.github.com/ScottJWalter/eab4f534fa2fc9eb51278768fd229d70)

sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install ffmpeg

For using:

source .venv/bin/activate
cd src
python3 UltraSinger.py <commands>

@rakuri255
Copy link
Owner Author

For gpu you need sudo apt install nvidia-cuda-toolkit

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