You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file in system/lib/pvr-tex-tool.py seems to be using distutils, but the module has been deprecated ever since Python 1.12.
Replacing:
def _get_executable_path(*paths: str) -> str | None:
from distutils.spawn import find_executable
for path in paths:
executable_path = find_executable(path)
if executable_path is not None:
return path
return None
by:
import shutil
def _get_executable_path(*paths: str) -> str | None:
for path in paths:
executable_path = shutil.which(path)
if executable_path is not None:
return path
return None
fixed the problem for me.
The text was updated successfully, but these errors were encountered:
The file in
system/lib/pvr-tex-tool.py
seems to be using distutils, but the module has been deprecated ever since Python 1.12.Replacing:
by:
fixed the problem for me.
The text was updated successfully, but these errors were encountered: