Skip to content

Missing dependencies 'brotli' #47

@feifeigood

Description

@feifeigood

I used the following two methods to install olah

pip install git+https://github.com/vtuber-plan/olah.git 

or

git clone https://github.com/vtuber-plan/olah.git
cd olah

and when run olah-cli , got error

Traceback (most recent call last):
  File "/usr/local/bin/olah-cli", line 5, in <module>
    from olah.server import cli
  File "/root/olah/src/olah/server.py", line 59, in <module>
    from olah.proxy.files import cdn_file_get_generator, file_get_generator
  File "/root/olah/src/olah/proxy/files.py", line 43, in <module>
    from olah.utils.zip_utils import Decompressor, decompress_data
  File "/root/olah/src/olah/utils/zip_utils.py", line 12, in <module>
    import brotli
ModuleNotFoundError: No module named 'brotli'

Add brotli dependency to the https://github.com/vtuber-plan/olah/blob/v0.4.1/pyproject.toml file and it works

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions