rakuri255 / UltraSinger

AI based tool to convert vocals lyrics and pitch from music to autogenerate Ultrastar Deluxe, Midi and notes. It automatic tapping, adding text, pitch vocals and creates karaoke files.
MIT License
287 stars 26 forks source link

UltraSinger / Python is broken #170

Open Aydonger opened 3 months ago

Aydonger commented 3 months ago

I really dont know, what the Problem is - but there is some :)

  1. Download the newest Verson of Ultrasinger. Overwrite the old Files. UltraSinger dont work (not starting).
  2. Well, this might be a good opportunity, to start fresh. So i delete UltraSinger, delete also Python3.
  3. DL Python 3.10.0 (on the Python Site, there are also 3.10.9 and 3.10.10 and so on). Installed it.
  4. Start the UltraSinger GPU-Install-Script.
  5. And here we are: error:

`Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [22 lines of output]

try another Python 3.10.x Version. No Luck. I tried also the Installation via Terminal. Again - no Luck.

And UltraSinger.py doesnt work either:

  File "PATH\src\UltraSinger.py", line 7, in <module>
    import Levenshtein
ModuleNotFoundError: No module named 'Levenshtein'

When i install the missing module via pip, another module is missing. And so on and so on...

the whole Application is broken and i dont know why :/

HerrBockwurst commented 2 months ago

Had the same problem. Installing C++ Dev Kid helped: https://learn.microsoft.com/en-us/cpp/build/vscpp-step-0-installation?view=msvc-170

Aydonger commented 2 months ago

I delete everything from UltraSinger, the GIT and other Utils / Tools whatever. Installed GIT, added to the PATH (running on Windows). Then Installed the Visual 2022 (Free Edition). Installed the C++ Dev Enviroment DL UltraSinger, start the CUDA GPU bat File. This worked so far.

Then started a Conversation from a Music File ... and it worked!

rakuri255 commented 2 months ago

I would like to know which py packages these two things need. Visual 2022 (Free Edition) and C++ Dev Enviroment. I have recently adjusted the requirements.txt for pip-compile. Maybe there is an unnecessary package in there now.

Aydonger commented 1 month ago

Sorry, cant understand how i contribute to this Question... i take the steps, suggesting from Mr. Bockwurst (the best Nickname in ages btw ^-^).

"Had the same problem. Installing C++ Dev Kid helped: https://learn.microsoft.com/en-us/cpp/build/vscpp-step-0-installation?view=msvc-170"

Then it runs. its possible, to collect some "log" Files or something, they show what is installed / downloaded? Cause i cant say, what Ultrasinger was dl 😭

rakuri255 commented 1 month ago

Ok seems matplotlib version 3.9.1 causes the issue. According to the release notes 3.9.2, the MSVC issue should be fixed. https://matplotlib.org/stable/api/prev_api_changes/api_changes_3.9.2.html

@Aydonger, @HerrBockwurst can you try and confirm this? I just updated the requirements.txt

janskod commented 1 month ago

For me i just "changed matplotlib==3.9.1."to "matplotlib==3.9.1.post1" in the requirements.txt : .... marshmallow==3.21.3

via dataclasses-json

matplotlib==3.9.1.post1

via

#   -r requirements.in
#   crepe
#   music21
#   pyannote-metrics

....