Anjok07 / ultimatevocalremovergui

GUI for a Vocal Remover that uses Deep Neural Networks.
MIT License
18.15k stars 1.36k forks source link

Error using python3 UVR.py #990

Open nananknow opened 11 months ago

nananknow commented 11 months ago

Someone help me please im going crazy i dont know what im doing its been hours someone has to save my sanity. Ive been trying to install UVR v5 on my chromebook using Linux ubuntu for like hours bur as soon as i run python3 UVR.py to launch it (i think?) i get this:

python3 UVR.py
playsound is relying on another python subprocess. Please use `pip install pygobject` if you want playsound to run more efficiently.
Traceback (most recent call last):
  File "/home/domnickilana14/.local/lib/python3.9/site-packages/pyglet/__init__.py", line 336, in __getattr__
    return getattr(self._module, name)
AttributeError: 'NoneType' object has no attribute 'add_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/domnickilana14/ultimatevocalremovergui-master/ultimatevocalremovergui-master/UVR.py", line 7257, in <module>
    root = MainWindow()
  File "/home/domnickilana14/ultimatevocalremovergui-master/ultimatevocalremovergui-master/UVR.py", line 1291, in __init__
    self.set_app_font()
  File "/home/domnickilana14/ultimatevocalremovergui-master/ultimatevocalremovergui-master/UVR.py", line 1559, in set_app_font
    pyglet_font.add_file(FONT_MAPPER[MAIN_FONT_NAME])
  File "/home/domnickilana14/.local/lib/python3.9/site-packages/pyglet/__init__.py", line 342, in __getattr__
    __import__(import_name)
  File "/home/domnickilana14/.local/lib/python3.9/site-packages/pyglet/font/__init__.py", line 80, in <module>
    from pyglet.font.freetype import FreeTypeFont
  File "/home/domnickilana14/.local/lib/python3.9/site-packages/pyglet/font/freetype.py", line 41, in <module>
    from pyglet.font import base
  File "/home/domnickilana14/.local/lib/python3.9/site-packages/pyglet/font/base.py", line 45, in <module>
    from pyglet.gl import *
  File "/home/domnickilana14/.local/lib/python3.9/site-packages/pyglet/gl/__init__.py", line 95, in <module>
    from pyglet.gl.gl import *
  File "/home/domnickilana14/.local/lib/python3.9/site-packages/pyglet/gl/gl.py", line 45, in <module>
    from pyglet.gl.lib import link_GL as _link_function
  File "/home/domnickilana14/.local/lib/python3.9/site-packages/pyglet/gl/lib.py", line 149, in <module>
    from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX
  File "/home/domnickilana14/.local/lib/python3.9/site-packages/pyglet/gl/lib_glx.py", line 46, in <module>
    glu_lib = pyglet.lib.load_library('GLU')
  File "/home/domnickilana14/.local/lib/python3.9/site-packages/pyglet/lib.py", line 164, in load_library
    raise ImportError('Library "%s" not found.' % names[0])
ImportError: Library "GLU" not found.

and ive been scrolling through issues for so long and googling and trying different stuff im about to give up but itd be a waste after using so much time on it SOMEONE PLS HELP ILL BE FOREVER GRATEFUL thx

ChrisTG742 commented 11 months ago

Seems like you have Python 3.9 installed. AFAIK you'll need to upgrade to Python 3.11 for UVR5. Have a look here: https://www.linuxcapable.com/how-to-install-python-3-11-on-ubuntu-linux/ HTH

joshgura commented 3 weeks ago

Seems like you have Python 3.9 installed. AFAIK you'll need to upgrade to Python 3.11 for UVR5. Have a look here: https://www.linuxcapable.com/how-to-install-python-3-11-on-ubuntu-linux/ HTH

i tried installing UVR with python 3.11 and no dice. somebody had a screenshot of it running in a VM on linux with 3.10.12

same exact issue as op. using an env. tried 3.11 and 3.10.12 since i've reason to believe it worked for others with those versions. i don't think it's a python issue at this point.

playsound is relying on another python subprocess. Please use `pip install pygobject` if you want playsound to run more efficiently.
Traceback (most recent call last):
  File "/home/username/opt/UVR/env/lib/python3.10/site-packages/pyglet/__init__.py", line 336, in __getattr__
    return getattr(self._module, name)
AttributeError: 'NoneType' object has no attribute 'add_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/username/opt/UVR/UVR.py", line 7257, in <module>
    root = MainWindow()
  File "/home/username/opt/UVR/UVR.py", line 1291, in __init__
    self.set_app_font()
  File "/home/username/opt/UVR/UVR.py", line 1559, in set_app_font
    pyglet_font.add_file(FONT_MAPPER[MAIN_FONT_NAME])
  File "/home/username/opt/UVR/env/lib/python3.10/site-packages/pyglet/__init__.py", line 342, in __getattr__
    __import__(import_name)
  File "/home/username/opt/UVR/env/lib/python3.10/site-packages/pyglet/font/__init__.py", line 80, in <module>
    from pyglet.font.freetype import FreeTypeFont
  File "/home/username/opt/UVR/env/lib/python3.10/site-packages/pyglet/font/freetype.py", line 41, in <module>
    from pyglet.font import base
  File "/home/username/opt/UVR/env/lib/python3.10/site-packages/pyglet/font/base.py", line 45, in <module>
    from pyglet.gl import *
  File "/home/username/opt/UVR/env/lib/python3.10/site-packages/pyglet/gl/__init__.py", line 232, in <module>
    import pyglet.window
  File "/home/username/opt/UVR/env/lib/python3.10/site-packages/pyglet/window/__init__.py", line 1918, in <module>
    gl._create_shadow_window()
  File "/home/username/opt/UVR/env/lib/python3.10/site-packages/pyglet/gl/__init__.py", line 206, in _create_shadow_window
    _shadow_window = Window(width=1, height=1, visible=False)
  File "/home/username/opt/UVR/env/lib/python3.10/site-packages/pyglet/window/xlib/__init__.py", line 171, in __init__
    super(XlibWindow, self).__init__(*args, **kwargs)
  File "/home/username/opt/UVR/env/lib/python3.10/site-packages/pyglet/window/__init__.py", line 600, in __init__
    config = screen.get_best_config(template_config)
  File "/home/username/opt/UVR/env/lib/python3.10/site-packages/pyglet/canvas/base.py", line 192, in get_best_config
    configs = self.get_matching_configs(template)
  File "/home/username/opt/UVR/env/lib/python3.10/site-packages/pyglet/canvas/xlib.py", line 220, in get_matching_configs
    configs = template.match(canvas)
  File "/home/username/opt/UVR/env/lib/python3.10/site-packages/pyglet/gl/xlib.py", line 58, in match
    have_13 = info.have_version(1, 3)
  File "/home/username/opt/UVR/env/lib/python3.10/site-packages/pyglet/gl/glx_info.py", line 86, in have_version
    client_version = self.get_client_version().split()[0]
IndexError: list index out of range