Errors installing Ultimate Vocal Remover GUI

I keep running into issues with it. Would appreciate any assistance. Thanks!

Link to application: GitHub - SparrowOchon/ultimatevocalremovergui: GUI for a Vocal Remover that uses Deep Neural Networks.

bornagainpenguin@Precision-5550:~/.ultimatevocalremovergui$ python3 -m venv venv
bornagainpenguin@Precision-5550:~/.ultimatevocalremovergui$ source venv/bin/activate
(venv) bornagainpenguin@Precision-5550:~/.ultimatevocalremovergui$ pip install -r requirements.txt
Ignoring PySoundFile: markers 'sys_platform == "darwin"' don't match your environment
Collecting altgraph==0.17.3 (from -r requirements.txt (line 1))
  Using cached altgraph-0.17.3-py2.py3-none-any.whl.metadata (7.4 kB)
Collecting audioread==3.0.0 (from -r requirements.txt (line 2))
  Using cached audioread-3.0.0.tar.gz (377 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  Γ— Getting requirements to build wheel did not run successfully.
  β”‚ exit code: 1
  ╰─> [20 lines of output]
      Traceback (most recent call last):
        File "/home/bornagainpenguin/.ultimatevocalremovergui/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/bornagainpenguin/.ultimatevocalremovergui/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/bornagainpenguin/.ultimatevocalremovergui/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-v9y280en/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-v9y280en/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-v9y280en/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 512, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-v9y280en/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
        File "<string>", line 17, in <module>
      ModuleNotFoundError: No module named 'imp'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

Γ— Getting requirements to build wheel did not run successfully.
β”‚ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
(venv) bornagainpenguin@Precision-5550:~/.ultimatevocalremovergui$

the requirements.txt is looking for Darwin (MacOS) so I have no idea how it can be installed on Linux. Contact the github person.

3 Likes

:person_facepalming:

Yes, this would definitely cause some issues....

1 Like

Error traceback reads ModuleNotFoundError: No module named 'imp'

$ python3 --version
Python 3.12.3

$ cat /etc/*release | grep -i name
DISTRIB_CODENAME=noble
PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_CODENAME=noble
UBUNTU_CODENAME=noble
$

3 Likes

The GitHub page for Vocal Remover GUI (and its upstream form) both offer specific Linux installation instructions.

So, given the errors you encountered in your build process, and what Eugene has identified about the "imp" package no longer being part of the Python standard library, it would seem that you need to approach the developers to revisit their code and replace that with an appropriate substitute.

A Google lookup suggest that the substitute should be "importlib".

This next is a discussion specifically about migrating from imp to importlib, which might help you get your code working as you want:

3 Likes