What happened?
Following the instructions, clone repo, create and activate venv, install dependencies, then hit start-ui.bat, the issue happens.
What did you expect would happen?
Open GUI ?
Relevant log output
activating venv G:\AI\OneTrainer\venv
Using Python "G:\AI\OneTrainer\venv\Scripts\python.exe" -X utf8
Checking Python version...
Python 3.12.0
Starting UI...
Modular Diffusers is currently an experimental feature under active development. The API is subject to breaking changes in future releases.
Traceback (most recent call last):
File "G:\AI\OneTrainer\scripts\train_ui_qt.py", line 11, in <module>
from modules.ui.PySide6TrainUIView import PySide6TrainView
File "G:\AI\OneTrainer\modules\ui\PySide6TrainUIView.py", line 14, in <module>
from modules.ui.PySide6ConceptTabView import PySide6ConceptTabView
File "G:\AI\OneTrainer\modules\ui\PySide6ConceptTabView.py", line 3, in <module>
from modules.ui.PySide6ConceptWindowView import PySide6ConceptWindowView
File "G:\AI\OneTrainer\modules\ui\PySide6ConceptWindowView.py", line 7, in <module>
from matplotlib import pyplot as plt
File "G:\AI\OneTrainer\venv\Lib\site-packages\matplotlib\pyplot.py", line 70, in <module>
from matplotlib.figure import Figure, FigureBase, figaspect
File "G:\AI\OneTrainer\venv\Lib\site-packages\matplotlib\figure.py", line 40, in <module>
from matplotlib import _blocking_input, backend_bases, _docstring, projections
File "G:\AI\OneTrainer\venv\Lib\site-packages\matplotlib\projections\__init__.py", line 55, in <module>
from .. import axes, _docstring
File "G:\AI\OneTrainer\venv\Lib\site-packages\matplotlib\axes\__init__.py", line 2, in <module>
from ._axes import Axes
File "G:\AI\OneTrainer\venv\Lib\site-packages\matplotlib\axes\_axes.py", line 17, in <module>
import matplotlib.dates # noqa: F401, Register date unit converter as side effect.
^^^^^^^^^^^^^^^^^^^^^^^
File "G:\AI\OneTrainer\venv\Lib\site-packages\matplotlib\dates.py", line 181, in <module>
from dateutil.rrule import (rrule, MO, TU, WE, TH, FR, SA, SU, YEARLY,
File "G:\AI\OneTrainer\venv\Lib\site-packages\dateutil\rrule.py", line 20, in <module>
from six.moves import _thread, range
File "shibokensupport/signature/loader.py", line 71, in feature_imported
File "shibokensupport/feature.py", line 147, in feature_imported
File "shibokensupport/feature.py", line 158, in _mod_uses_pyside
File "C:\Users\CourG\AppData\Local\Programs\Python\Python312\Lib\inspect.py", line 1282, in getsource
lines, lnum = getsourcelines(object)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CourG\AppData\Local\Programs\Python\Python312\Lib\inspect.py", line 1264, in getsourcelines
lines, lnum = findsource(object)
^^^^^^^^^^^^^^^^^^
File "C:\Users\CourG\AppData\Local\Programs\Python\Python312\Lib\inspect.py", line 1075, in findsource
file = getsourcefile(object)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CourG\AppData\Local\Programs\Python\Python312\Lib\inspect.py", line 952, in getsourcefile
filename = getfile(object)
^^^^^^^^^^^^^^^
File "G:\AI\OneTrainer\venv\Lib\site-packages\torch\package\package_importer.py", line 745, in _patched_getfile
return _orig_getfile(object)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CourG\AppData\Local\Programs\Python\Python312\Lib\inspect.py", line 913, in getfile
raise TypeError('{!r} is a built-in module'.format(object))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 545, in _module_repr
File "<frozen importlib._bootstrap>", line 830, in _module_repr_from_spec
AttributeError: '_SixMetaPathImporter' object has no attribute '_path'
Error: UI script exited with code 1
Press any key to continue . . .
Generate and upload debug_report.log
(venv) G:\AI\OneTrainer>python --version
Python 3.12.0
(venv) G:\AI\OneTrainer>python -c "import torch; print(torch.version)"
2.12.0+cu130
What happened?
Following the instructions, clone repo, create and activate venv, install dependencies, then hit start-ui.bat, the issue happens.
What did you expect would happen?
Open GUI ?
Relevant log output
Generate and upload debug_report.log
(venv) G:\AI\OneTrainer>python --version
Python 3.12.0
(venv) G:\AI\OneTrainer>python -c "import torch; print(torch.version)"
2.12.0+cu130