CharafChnioune / MFLUX-WEBUI

13 stars 5 forks source link

Not working in Pinokio #5

Closed Tobe2d closed 2 hours ago

Tobe2d commented 2 hours ago

When I installe it using Pinokio cant get it to install correctly.

ENOENT: no such file or directory, stat 'E:\pinokio\api\MFLUX_WEBUI.git\{{input.event[0]}}'

Log:

E:\pinokio\api\MFLUX_WEBUI.git\app>conda_hook && conda deactivate && conda deactivate && conda deactivate && conda activate base && E:\pinokio\api\MFLUX_WEBUI.git\app\env\Scripts\activate E:\pinokio\api\MFLUX_WEBUI.git\app\env && python webui.py

Traceback (most recent call last):
  File "E:\pinokio\api\MFLUX_WEBUI.git\app\webui.py", line 1, in <module>
    import gradio as gr
ModuleNotFoundError: No module named 'gradio'
(env) (base) E:\pinokio\api\MFLUX_WEBUI.git\app>

installation log:

Microsoft Windows [Version 10.0.22631.4317]
(c) Microsoft Corporation. All rights reserved.

E:\pinokio\api\MFLUX_WEBUI.git\app>conda_hook && conda deactivate && conda deactivate && conda deactivate && conda activate base && python -m venv E:\pinokio\api\MFLUX_WEBUI.git\app\env && E:\pinokio\api\MFLUX_WEBUI.git\app\env\Scripts\activate E:\pinokio\api\MFLUX_WEBUI.git\app\env && pip install -r requirements.txt

Collecting mflux==0.3.0
  Using cached mflux-0.3.0-py3-none-any.whl (65 kB)
Collecting gradio==4.44.0
  Using cached gradio-4.44.0-py3-none-any.whl (18.1 MB)
Collecting ollama==0.3.3
  Using cached ollama-0.3.3-py3-none-any.whl (10 kB)
Collecting requests==2.32.3
  Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Collecting beautifulsoup4==4.12.3
  Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
Collecting piexif<2.0,>=1.1.3
  Using cached piexif-1.1.3-py2.py3-none-any.whl (20 kB)
Collecting transformers<5.0,>=4.44.0
  Using cached transformers-4.46.0-py3-none-any.whl (10.0 MB)
Collecting pillow<11.0,>=10.4.0
  Using cached pillow-10.4.0-cp310-cp310-win_amd64.whl (2.6 MB)
Collecting torch<3.0,>=2.3.1
  Using cached torch-2.5.0-cp310-cp310-win_amd64.whl (203.1 MB)
Collecting safetensors<1.0,>=0.4.4
  Using cached safetensors-0.4.5-cp310-none-win_amd64.whl (285 kB)
ERROR: Ignored the following versions that require a different python version: 0.1.9 Requires-Python >=3.11
ERROR: Could not find a version that satisfies the requirement mlx<1.0,>=0.16.0 (from mflux) (from versions: none)
ERROR: No matching distribution found for mlx<1.0,>=0.16.0

[notice] A new release of pip is available: 23.0.1 -> 24.2
[notice] To update, run: python.exe -m pip install --upgrade pip

(env) (base) E:\pinokio\api\MFLUX_WEBUI.git\app>

creating a shared drive:
{
  "venv": "app/env"
}
{
  "pip": {
    "version": "23.0.1",
    "copy": [
      "../../Scripts/pip3.exe",
      "../../Scripts/pip.exe",
      "../../Scripts/pip3.10.exe"
    ],
    "move": [
      "pip",
      "pip-23.0.1.dist-info"
    ]
  },
  "setuptools": {
    "version": "65.5.0",
    "copy": [
      "distutils-precedence.pth"
    ],
    "move": [
      "pkg_resources",
      "_distutils_hack",
      "setuptools-65.5.0.dist-info",
      "setuptools"
    ]
  }
}
> Namespace resolution
> Resolved namespace
pip/23.0.1
LINKING DRIVES:
{
  "copy": {
    "../../Scripts/pip3.exe": "E:\\pinokio\\api\\MFLUX_WEBUI.git\\app\\env\\Scripts\\pip3.exe",
    "../../Scripts/pip.exe": "E:\\pinokio\\api\\MFLUX_WEBUI.git\\app\\env\\Scripts\\pip.exe",
    "../../Scripts/pip3.10.exe": "E:\\pinokio\\api\\MFLUX_WEBUI.git\\app\\env\\Scripts\\pip3.10.exe"
  },
  "move": {
    "pip": "E:\\pinokio\\api\\MFLUX_WEBUI.git\\app\\env\\Lib\\site-packages\\pip",
    "pip-23.0.1.dist-info": "E:\\pinokio\\api\\MFLUX_WEBUI.git\\app\\env\\Lib\\site-packages\\pip-23.0.1.dist-info"
  },
  "parent": "pip/pip/23.0.1/Lib/site-packages"
}Done.

> Namespace resolution
> Resolved namespace
setuptools/65.5.0
LINKING DRIVES:
{
  "copy": {
    "distutils-precedence.pth": "E:\\pinokio\\api\\MFLUX_WEBUI.git\\app\\env\\Lib\\site-packages\\distutils-precedence.pth"
  },
  "move": {
    "pkg_resources": "E:\\pinokio\\api\\MFLUX_WEBUI.git\\app\\env\\Lib\\site-packages\\pkg_resources",
    "_distutils_hack": "E:\\pinokio\\api\\MFLUX_WEBUI.git\\app\\env\\Lib\\site-packages\\_distutils_hack",
    "setuptools-65.5.0.dist-info": "E:\\pinokio\\api\\MFLUX_WEBUI.git\\app\\env\\Lib\\site-packages\\setuptools-65.5.0.dist-info",
    "setuptools": "E:\\pinokio\\api\\MFLUX_WEBUI.git\\app\\env\\Lib\\site-packages\\setuptools"
  },
  "parent": "pip/setuptools/65.5.0/Lib/site-packages"
}
Done.
CharafChnioune commented 2 hours ago

It uses MLX framework from apple so it won't work on windows