子雲

Reboot my MacBook and some Ollama

Recently, I revamped my setup with some new menu bar tools, inspired by Eugene Yan’s macOS setup guide:

On a related note, I attempted to install open-webui using uv, but ran into some dependency conflicts:

❯ uv tool install open-webui
error: Because only the following versions of ctranslate2 are available:
    ctranslate2<=4.0.0
    ctranslate2==4.1.0
    ctranslate2==4.2.1
    ctranslate2==4.3.1
    ctranslate2==4.4.0
    ctranslate2==4.5.0
and ctranslate2>=4.0.0 has no wheels with a matching Python ABI tag, we can conclude that ctranslate2>=4.0.0,<4.1.0 cannot be used.
And because faster-whisper>=1.0.1,<=1.0.3 depends on ctranslate2>=4.0, we can conclude that faster-whisper>=1.0.1,<=1.0.3 cannot be used.
And because open-webui<=0.1.125 depends on faster-whisper==1.0.1 and only the following versions of open-webui are available:
    open-webui<=0.1.125
    open-webui>=0.2.0,<=0.3.16
    open-webui>=0.3.17,<=0.3.26
    open-webui>=0.3.27,<=0.3.29
    open-webui==0.3.30
    open-webui>=0.3.31,<=0.3.32
    open-webui>=0.3.33,<=0.3.35
    open-webui>=0.4.0
we can conclude that all of:
    open-webui<0.2.0
    open-webui>0.3.16,<0.3.17
    open-webui>0.3.26,<0.3.27
    open-webui>0.3.29,<0.3.30
    open-webui>0.3.30,<0.3.31
    open-webui>0.3.32,<0.3.33
    open-webui>0.3.35,<0.4.0
 cannot be used. (1)

Because only the following versions of ctranslate2 are available:
    ctranslate2<=4.0.0
    ctranslate2==4.1.0
    ctranslate2==4.2.1
    ctranslate2==4.3.1
    ctranslate2==4.4.0
    ctranslate2==4.5.0
and ctranslate2>=4.0.0 has no wheels with a matching Python ABI tag, we can conclude that ctranslate2>=4.0.0,<4.1.0 cannot be used.
And because faster-whisper>=1.0.2,<=1.0.3 depends on ctranslate2>=4.0 and open-webui>=0.2.0,<=0.3.13 depends on faster-whisper==1.0.2, we can conclude that open-webui>=0.2.0,<=0.3.13 cannot be used.
And because we know from (1) that all of:
    open-webui<0.2.0
    open-webui>0.3.16,<0.3.17
    open-webui>0.3.26,<0.3.27
    open-webui>0.3.29,<0.3.30
    open-webui>0.3.30,<0.3.31
    open-webui>0.3.32,<0.3.33
    open-webui>0.3.35,<0.4.0
 cannot be used, we can conclude that all of:
    open-webui<0.3.14
    open-webui>0.3.16,<0.3.17
    open-webui>0.3.26,<0.3.27
    open-webui>0.3.29,<0.3.30
    open-webui>0.3.30,<0.3.31
    open-webui>0.3.32,<0.3.33
    open-webui>0.3.35,<0.4.0
 cannot be used. (2)

Because only the following versions of ctranslate2 are available:
    ctranslate2<=4.0.0
    ctranslate2==4.1.0
    ctranslate2==4.2.1
    ctranslate2==4.3.1
    ctranslate2==4.4.0
    ctranslate2==4.5.0
and ctranslate2>=4.0.0 has no wheels with a matching Python ABI tag, we can conclude that ctranslate2>=4.0.0,<4.1.0 cannot be used.
And because faster-whisper==1.0.3 depends on ctranslate2>=4.0 and all of:
    open-webui>=0.3.14,<=0.3.16
    open-webui>=0.3.17,<=0.3.26
    open-webui>=0.3.27,<=0.3.29
    open-webui==0.3.30
    open-webui>=0.3.31,<=0.3.32
    open-webui>=0.3.33,<=0.3.35
    open-webui>=0.4.0
depend on faster-whisper==1.0.3, we can conclude that all of:
    open-webui>=0.3.14,<=0.3.16
    open-webui>=0.3.17,<=0.3.26
    open-webui>=0.3.27,<=0.3.29
    open-webui==0.3.30
    open-webui>=0.3.31,<=0.3.32
    open-webui>=0.3.33,<=0.3.35
    open-webui>=0.4.0
 cannot be used.
And because we know from (2) that all of:
    open-webui<0.3.14
    open-webui>0.3.16,<0.3.17
    open-webui>0.3.26,<0.3.27
    open-webui>0.3.29,<0.3.30
    open-webui>0.3.30,<0.3.31
    open-webui>0.3.32,<0.3.33
    open-webui>0.3.35,<0.4.0
 cannot be used, we can conclude that all versions of open-webui cannot be used.
And because you require open-webui, we can conclude that your requirements are unsatisfiable.

hint: Pre-releases are available for open-webui in the requested range (e.g., 0.4.0.dev2), but pre-releases weren't enabled (try: `--prerelease=allow`)

Update: turns out I need to install a Python version with uv,

uv python install 3.12
uv tool install open-webui
uv tool run open-webui serve

Also, installing open-webui via Docker is straightforward:

docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway \
    -v open-webui:/app/backend/data \
    --name open-webui --restart always \
    ghcr.io/open-webui/open-webui:main

#lab notes

Published on:   Last modified: