-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
安装完以后无法运行 #597
Comments
似乎在安装的时候也有错误,好像是xformers的,不知道怎么解决: Installing deps... [notice] A new release of pip is available: 23.2.1 -> 24.3.1 **> Building wheels for collected packages: xformers
× python setup.py bdist_wheel did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. [notice] A new release of pip is available: 23.2.1 -> 24.3.1 [notice] A new release of pip is available: 23.2.1 -> 24.3.1 [notice] A new release of pip is available: 23.2.1 -> 24.3.1 |
按照说明后,先执行了install.ps1,然后再执行run_gui.ps1, 在运行run_gui.ps1的时候出行如下错误,
错误为:
File "F:\training\lora-scripts-1.10.0\venv\Lib\site-packages\starlette\staticfiles.py", line 57, in init
raise RuntimeError(f"Directory '{directory}' does not exist")
RuntimeError: Directory 'frontend/dist' does not exist
执行的日志:
Activating virtual environment...
10:55:52-504233 INFO Starting SD-Trainer Mikazuki GUI...
10:55:52-506229 INFO Base directory: F:\training\lora-scripts-1.10.0, Working directory:
F:\training\lora-scripts-1.10.0
10:55:52-557065 INFO Windows Python 3.12.0 F:\training\lora-scripts-1.10.0\venv\Scripts\python.exe
10:55:52-558066 INFO submodule not found, try clone...
10:55:52-558066 INFO checking git installation...
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
10:55:54-767964 INFO SD-Trainer Version:
10:55:54-768966 INFO Starting tageditor...
F:\training\lora-scripts-1.10.0\gui.py:47: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
l = locale.getdefaultlocale()[0]
10:55:54-782480 INFO Starting tensorboard...
10:55:54-810561 INFO Server started at http://127.0.0.1:28000
C:\Users\47478\AppData\Local\Programs\Python\Python312\python.exe: can't open file 'F:\training\lora-scripts-1.10.0\mikazuki\dataset-tag-editor\scripts\launch.py': [Errno 2] No such file or directory
TensorFlow installation not found - running with reduced feature set.
TensorBoard 2.10.1 at http://127.0.0.1:6006/ (Press CTRL+C to quit)
Traceback (most recent call last):
File "F:\training\lora-scripts-1.10.0\gui.py", line 93, in
launch()
File "F:\training\lora-scripts-1.10.0\gui.py", line 88, in launch
uvicorn.run("mikazuki.app:app", host=args.host, port=args.port, log_level="error")
File "F:\training\lora-scripts-1.10.0\venv\Lib\site-packages\uvicorn\main.py", line 578, in run
server.run()
File "F:\training\lora-scripts-1.10.0\venv\Lib\site-packages\uvicorn\server.py", line 61, in run
return asyncio.run(self.serve(sockets=sockets))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\47478\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\47478\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run
return self.loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\47478\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 664, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "F:\training\lora-scripts-1.10.0\venv\Lib\site-packages\uvicorn\server.py", line 68, in serve
config.load()
File "F:\training\lora-scripts-1.10.0\venv\Lib\site-packages\uvicorn\config.py", line 473, in load
self.loaded_app = import_from_string(self.app)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\training\lora-scripts-1.10.0\venv\Lib\site-packages\uvicorn\importer.py", line 21, in import_from_string
module = importlib.import_module(module_str)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\47478\AppData\Local\Programs\Python\Python312\Lib\importlib_init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1381, in _gcd_import
File "", line 1354, in _find_and_load
File "", line 1325, in _find_and_load_unlocked
File "", line 929, in _load_unlocked
File "", line 994, in exec_module
File "", line 488, in call_with_frames_removed
File "F:\training\lora-scripts-1.10.0\mikazuki\app_init.py", line 1, in
from . import application
File "F:\training\lora-scripts-1.10.0\mikazuki\app\application.py", line 90, in
app.mount("/", SPAStaticFiles(directory="frontend/dist", html=True), name="static")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\training\lora-scripts-1.10.0\venv\Lib\site-packages\starlette\staticfiles.py", line 57, in init
raise RuntimeError(f"Directory '{directory}' does not exist")
RuntimeError: Directory 'frontend/dist' does not exist
The text was updated successfully, but these errors were encountered: