trypromptly / LLMStack

No-code multi-agent framework to build LLM Agents, workflows and applications with your data
https://llmstack.trypromptly.com
Other
1.64k stars 242 forks source link

conda package needed ... "pip install LLMstack" consistently fails on WSL in Windows - MySQL wheel build process is where it fails #238

Closed richlysakowski closed 4 months ago

richlysakowski commented 6 months ago

Describe the bug The pip install approach is buggy. Please provide a conda package and instructions to install and run it locally.

To Reproduce

Build conda virtual environment with latest versions of Python, conda, and pip, then do pip installation of LLMStack.

"pip install llmstack" command on WSL command line in conda environment.

############################################################# BUILD CONDA ENVIRONMENT

(base) root@Precision7530:~# conda create --name llmstack_wsl python conda pip Retrieving notices: ...working... done Collecting package metadata (current_repodata.json): done Solving environment: done

==> WARNING: A newer version of conda exists. <== current version: 23.7.3 latest version: 24.5.0

Please update conda by running

$ conda update -n base -c defaults conda

Or to minimize the number of packages updated during conda update use

 conda install conda=24.5.0

Package Plan

environment location: /opt/conda/envs/llmstack_wsl added / updated specs:

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
archspec-0.2.3             |     pyhd3eb1b0_0          47 KB
boltons-23.0.0             |  py312h06a4308_0         462 KB
brotli-python-1.0.9        |  py312h6a678d5_8         356 KB
bzip2-1.0.8                |       h5eee18b_6         262 KB
c-ares-1.19.1              |       h5eee18b_0         118 KB
ca-certificates-2024.3.11  |       h06a4308_0         127 KB
certifi-2024.2.2           |  py312h06a4308_0         160 KB
cffi-1.16.0                |  py312h5eee18b_1         305 KB
conda-24.5.0               |  py312h06a4308_0         1.2 MB
conda-libmamba-solver-24.1.0|     pyhd3eb1b0_0          39 KB
conda-package-handling-2.2.0|  py312h06a4308_1         277 KB
conda-package-streaming-0.9.0|  py312h06a4308_0          32 KB
distro-1.9.0               |  py312h06a4308_0          36 KB
expat-2.6.2                |       h6a678d5_0         177 KB
fmt-9.1.0                  |       hdb19cb5_1         195 KB
frozendict-2.4.2           |  py312h06a4308_0          36 KB
idna-3.7                   |  py312h06a4308_0         131 KB
jsonpatch-1.33             |  py312h06a4308_1          36 KB
libarchive-3.6.2           |       h6ac8c49_3         898 KB
libcurl-8.7.1              |       h251f7ec_0         424 KB
libedit-3.1.20230828       |       h5eee18b_0         179 KB
libffi-3.4.4               |       h6a678d5_1         141 KB
libmamba-1.5.8             |       hfe524e5_2         1.9 MB
libmambapy-1.5.8           |  py312h2dafd23_2         327 KB
libnghttp2-1.57.0          |       h2d74bed_0         674 KB
libsolv-0.7.24             |       he621ea3_1         490 KB
libssh2-1.11.0             |       h251f7ec_0         282 KB
libxml2-2.10.4             |       hfdd30dd_2         754 KB
lz4-c-1.9.4                |       h6a678d5_1         156 KB
menuinst-2.1.0             |  py312h06a4308_0         246 KB
openssl-3.0.13             |       h7f8727e_2         5.2 MB
packaging-23.2             |  py312h06a4308_0         168 KB
pcre2-10.42                |       hebb0a14_1         1.3 MB
pip-24.0                   |  py312h06a4308_0         3.3 MB
platformdirs-3.10.0        |  py312h06a4308_0          36 KB
pluggy-1.0.0               |  py312h06a4308_1          31 KB
pybind11-abi-5             |       hd3eb1b0_0          14 KB
pycosat-0.6.6              |  py312h5eee18b_1          90 KB
pysocks-1.7.1              |  py312h06a4308_0          35 KB
python-3.12.3              |       h996f2a0_1        34.9 MB
reproc-14.2.4              |       h6a678d5_2          29 KB
reproc-cpp-14.2.4          |       h6a678d5_2          21 KB
requests-2.31.0            |  py312h06a4308_1         120 KB
ruamel.yaml-0.17.21        |  py312h5eee18b_0         241 KB
setuptools-69.5.1          |  py312h06a4308_0         1.3 MB
sqlite-3.45.3              |       h5eee18b_0         1.2 MB
tk-8.6.14                  |       h39e8969_0         3.4 MB
tqdm-4.66.4                |  py312he106c6f_0         159 KB
truststore-0.8.0           |  py312h06a4308_0          43 KB
tzdata-2024a               |       h04d1e81_0         116 KB
urllib3-2.2.1              |  py312h06a4308_0         219 KB
wheel-0.43.0               |  py312h06a4308_0         142 KB
xz-5.4.6                   |       h5eee18b_1         643 KB
yaml-cpp-0.8.0             |       h6a678d5_1         607 KB
zlib-1.2.13                |       h5eee18b_1         111 KB
zstandard-0.22.0           |  py312h2c38b39_0         437 KB
zstd-1.5.5                 |       hc292b87_2         643 KB
------------------------------------------------------------
                                       Total:        64.7 MB

The following NEW packages will be INSTALLED:

_libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main _openmp_mutex pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu archspec pkgs/main/noarch::archspec-0.2.3-pyhd3eb1b0_0 boltons pkgs/main/linux-64::boltons-23.0.0-py312h06a4308_0 brotli-python pkgs/main/linux-64::brotli-python-1.0.9-py312h6a678d5_8 bzip2 pkgs/main/linux-64::bzip2-1.0.8-h5eee18b_6 c-ares pkgs/main/linux-64::c-ares-1.19.1-h5eee18b_0 ca-certificates pkgs/main/linux-64::ca-certificates-2024.3.11-h06a4308_0 certifi pkgs/main/linux-64::certifi-2024.2.2-py312h06a4308_0 cffi pkgs/main/linux-64::cffi-1.16.0-py312h5eee18b_1 charset-normalizer pkgs/main/noarch::charset-normalizer-2.0.4-pyhd3eb1b0_0 conda pkgs/main/linux-64::conda-24.5.0-py312h06a4308_0 conda-libmamba-so~ pkgs/main/noarch::conda-libmamba-solver-24.1.0-pyhd3eb1b0_0 conda-package-han~ pkgs/main/linux-64::conda-package-handling-2.2.0-py312h06a4308_1 conda-package-str~ pkgs/main/linux-64::conda-package-streaming-0.9.0-py312h06a4308_0 distro pkgs/main/linux-64::distro-1.9.0-py312h06a4308_0 expat pkgs/main/linux-64::expat-2.6.2-h6a678d5_0 fmt pkgs/main/linux-64::fmt-9.1.0-hdb19cb5_1 frozendict pkgs/main/linux-64::frozendict-2.4.2-py312h06a4308_0 icu pkgs/main/linux-64::icu-73.1-h6a678d5_0 idna pkgs/main/linux-64::idna-3.7-py312h06a4308_0 jsonpatch pkgs/main/linux-64::jsonpatch-1.33-py312h06a4308_1 jsonpointer pkgs/main/noarch::jsonpointer-2.1-pyhd3eb1b0_0 krb5 pkgs/main/linux-64::krb5-1.20.1-h143b758_1 ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.38-h1181459_1 libarchive pkgs/main/linux-64::libarchive-3.6.2-h6ac8c49_3 libcurl pkgs/main/linux-64::libcurl-8.7.1-h251f7ec_0 libedit pkgs/main/linux-64::libedit-3.1.20230828-h5eee18b_0 libev pkgs/main/linux-64::libev-4.33-h7f8727e_1 libffi pkgs/main/linux-64::libffi-3.4.4-h6a678d5_1 libgcc-ng pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1 libgomp pkgs/main/linux-64::libgomp-11.2.0-h1234567_1 libmamba pkgs/main/linux-64::libmamba-1.5.8-hfe524e5_2 libmambapy pkgs/main/linux-64::libmambapy-1.5.8-py312h2dafd23_2 libnghttp2 pkgs/main/linux-64::libnghttp2-1.57.0-h2d74bed_0 libsolv pkgs/main/linux-64::libsolv-0.7.24-he621ea3_1 libssh2 pkgs/main/linux-64::libssh2-1.11.0-h251f7ec_0 libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1 libuuid pkgs/main/linux-64::libuuid-1.41.5-h5eee18b_0 libxml2 pkgs/main/linux-64::libxml2-2.10.4-hfdd30dd_2 lz4-c pkgs/main/linux-64::lz4-c-1.9.4-h6a678d5_1 menuinst pkgs/main/linux-64::menuinst-2.1.0-py312h06a4308_0 ncurses pkgs/main/linux-64::ncurses-6.4-h6a678d5_0 openssl pkgs/main/linux-64::openssl-3.0.13-h7f8727e_2 packaging pkgs/main/linux-64::packaging-23.2-py312h06a4308_0 pcre2 pkgs/main/linux-64::pcre2-10.42-hebb0a14_1 pip pkgs/main/linux-64::pip-24.0-py312h06a4308_0 platformdirs pkgs/main/linux-64::platformdirs-3.10.0-py312h06a4308_0 pluggy pkgs/main/linux-64::pluggy-1.0.0-py312h06a4308_1 pybind11-abi pkgs/main/noarch::pybind11-abi-5-hd3eb1b0_0 pycosat pkgs/main/linux-64::pycosat-0.6.6-py312h5eee18b_1 pycparser pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0 pysocks pkgs/main/linux-64::pysocks-1.7.1-py312h06a4308_0 python pkgs/main/linux-64::python-3.12.3-h996f2a0_1 readline pkgs/main/linux-64::readline-8.2-h5eee18b_0 reproc pkgs/main/linux-64::reproc-14.2.4-h6a678d5_2 reproc-cpp pkgs/main/linux-64::reproc-cpp-14.2.4-h6a678d5_2 requests pkgs/main/linux-64::requests-2.31.0-py312h06a4308_1 ruamel.yaml pkgs/main/linux-64::ruamel.yaml-0.17.21-py312h5eee18b_0 setuptools pkgs/main/linux-64::setuptools-69.5.1-py312h06a4308_0 sqlite pkgs/main/linux-64::sqlite-3.45.3-h5eee18b_0 tk pkgs/main/linux-64::tk-8.6.14-h39e8969_0 tqdm pkgs/main/linux-64::tqdm-4.66.4-py312he106c6f_0 truststore pkgs/main/linux-64::truststore-0.8.0-py312h06a4308_0 tzdata pkgs/main/noarch::tzdata-2024a-h04d1e81_0 urllib3 pkgs/main/linux-64::urllib3-2.2.1-py312h06a4308_0 wheel pkgs/main/linux-64::wheel-0.43.0-py312h06a4308_0 xz pkgs/main/linux-64::xz-5.4.6-h5eee18b_1 yaml-cpp pkgs/main/linux-64::yaml-cpp-0.8.0-h6a678d5_1 zlib pkgs/main/linux-64::zlib-1.2.13-h5eee18b_1 zstandard pkgs/main/linux-64::zstandard-0.22.0-py312h2c38b39_0 zstd pkgs/main/linux-64::zstd-1.5.5-hc292b87_2

Proceed ([y]/n)? y

Downloading and Extracting Packages

Preparing transaction: done Verifying transaction: done Executing transaction: done #

To activate this environment, use

#

$ conda activate llmstack_wsl

#

To deactivate an active environment, use

#

$ conda deactivate

(base) root@Precision7530:~# conda activate llmstack_wsl (llmstack_wsl) root@Precision7530:~# pip install llmstack Collecting llmstack Downloading llmstack-0.1.0-py3-none-any.whl.metadata (13 kB) Collecting aiohttp<4.0.0,>=3.8.4 (from llmstack) Downloading aiohttp-3.9.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.5 kB) Collecting aiosignal<2.0.0,>=1.3.1 (from llmstack) Downloading aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB) Collecting anthropic<0.6.0,>=0.5.0 (from llmstack) Downloading anthropic-0.5.0-py3-none-any.whl.metadata (12 kB) Collecting anyio<4.0.0,>=3.6.2 (from llmstack) Downloading anyio-3.7.1-py3-none-any.whl.metadata (4.7 kB) Collecting asgiref<4.0.0,>=3.6.0 (from llmstack) Downloading asgiref-3.8.1-py3-none-any.whl.metadata (9.3 kB) Collecting async-timeout<5.0.0,>=4.0.2 (from llmstack) Downloading async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB) Collecting attrs<23.0.0,>=22.2.0 (from llmstack) Downloading attrs-22.2.0-py3-none-any.whl.metadata (13 kB) Collecting authlib<2.0.0,>=1.2.0 (from llmstack) Downloading Authlib-1.3.0-py2.py3-none-any.whl.metadata (3.8 kB) Collecting autobahn<24.0.0,>=23.1.2 (from llmstack) Downloading autobahn-23.6.2.tar.gz (480 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 480.8/480.8 kB 10.1 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting automat<23.0.0,>=22.10.0 (from llmstack) Downloading Automat-22.10.0-py2.py3-none-any.whl.metadata (1.0 kB) Collecting backoff<3.0.0,>=2.2.1 (from llmstack) Downloading backoff-2.2.1-py3-none-any.whl.metadata (14 kB) Collecting beautifulsoup4<5.0.0,>=4.12.2 (from llmstack) Downloading beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB) Collecting boto3<2.0.0,>=1.26.122 (from llmstack) Downloading boto3-1.34.113-py3-none-any.whl.metadata (6.6 kB) Collecting botocore<2.0.0,>=1.29.122 (from llmstack) Downloading botocore-1.34.113-py3-none-any.whl.metadata (5.7 kB) Collecting channels<5.0.0,>=4.0.0 (from llmstack) Downloading channels-4.1.0-py3-none-any.whl.metadata (4.5 kB) Collecting chroma-hnswlib<0.8.0,>=0.7.3 (from llmstack) Downloading chroma-hnswlib-0.7.3.tar.gz (31 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting chromadb<0.5.0,>=0.4.10 (from llmstack) Downloading chromadb-0.4.24-py3-none-any.whl.metadata (7.3 kB) Collecting click<9.0.0,>=8.1.3 (from llmstack) Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB) Collecting cohere==5.0.0 (from llmstack) Downloading cohere-5.0.0-py3-none-any.whl.metadata (3.0 kB) Collecting constantly<16.0.0,>=15.1.0 (from llmstack) Downloading constantly-15.1.0-py2.py3-none-any.whl.metadata (1.2 kB) Collecting croniter<3.0.0,>=2.0.1 (from llmstack) Downloading croniter-2.0.5-py2.py3-none-any.whl.metadata (25 kB) Collecting daphne<5.0.0,>=4.0.0 (from llmstack) Downloading daphne-4.1.2-py3-none-any.whl.metadata (6.5 kB) Collecting defusedxml<0.8.0,>=0.7.1 (from llmstack) Downloading defusedxml-0.7.1-py2.py3-none-any.whl.metadata (32 kB) Collecting django-jsonform<3.0.0,>=2.17.4 (from llmstack) Downloading django_jsonform-2.22.0-py3-none-any.whl.metadata (3.4 kB) Collecting django-ratelimit<5.0.0,>=4.1.0 (from llmstack) Downloading django_ratelimit-4.1.0-py2.py3-none-any.whl.metadata (2.3 kB) Collecting docker<7.0.0,>=6.1.3 (from llmstack) Downloading docker-6.1.3-py3-none-any.whl.metadata (3.5 kB) Collecting drf-yaml<4.0.0,>=3.0.1 (from llmstack) Downloading drf_yaml-3.0.1-py3-none-any.whl.metadata (3.2 kB) Collecting ffmpeg-python<0.3.0,>=0.2.0 (from llmstack) Downloading ffmpeg_python-0.2.0-py3-none-any.whl.metadata (1.7 kB) Collecting geoip2<5.0.0,>=4.7.0 (from llmstack) Downloading geoip2-4.8.0-py2.py3-none-any.whl.metadata (18 kB) Collecting google-auth<3.0.0,>=2.22.0 (from llmstack) Downloading google_auth-2.29.0-py2.py3-none-any.whl.metadata (4.7 kB) Collecting google-cloud-speech<3.0.0,>=2.26.0 (from llmstack) Downloading google_cloud_speech-2.26.0-py2.py3-none-any.whl.metadata (5.2 kB) Collecting google-generativeai<0.4.0,>=0.3.1 (from llmstack) Downloading google_generativeai-0.3.2-py3-none-any.whl.metadata (5.9 kB) Collecting grpcio-health-checking<2.0.0,>=1.53.0 (from llmstack) Downloading grpcio_health_checking-1.64.0-py3-none-any.whl.metadata (1.1 kB) Collecting gunicorn<21.0.0,>=20.1.0 (from llmstack) Downloading gunicorn-20.1.0-py3-none-any.whl.metadata (3.8 kB) Collecting h11<0.15.0,>=0.14.0 (from llmstack) Downloading h11-0.14.0-py3-none-any.whl.metadata (8.2 kB) Collecting h2<5.0.0,>=4.1.0 (from llmstack) Downloading h2-4.1.0-py3-none-any.whl.metadata (3.6 kB) Collecting httpcore<0.17.0,>=0.16.3 (from llmstack) Downloading httpcore-0.16.3-py3-none-any.whl.metadata (16 kB) Collecting httptools<0.6.0,>=0.5.0 (from llmstack) Downloading httptools-0.5.0.tar.gz (177 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 177.7/177.7 kB 6.7 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting httpx<0.24.0,>=0.23.3 (from llmstack) Downloading httpx-0.23.3-py3-none-any.whl.metadata (7.1 kB) Collecting hyperlink<22.0.0,>=21.0.0 (from llmstack) Downloading hyperlink-21.0.0-py2.py3-none-any.whl.metadata (1.5 kB) Requirement already satisfied: idna<4.0,>=3.4 in /opt/conda/envs/llmstack_wsl/lib/python3.12/site-packages (from llmstack) (3.7) Collecting importlib-metadata<7.0.0,>=6.0.0 (from llmstack) Downloading importlib_metadata-6.11.0-py3-none-any.whl.metadata (4.9 kB) Collecting incremental<23.0.0,>=22.10.0 (from llmstack) Downloading incremental-22.10.0-py2.py3-none-any.whl.metadata (6.0 kB) Collecting jinja2<4.0.0,>=3.1.2 (from llmstack) Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB) Collecting joblib<2.0.0,>=1.2.0 (from llmstack) Downloading joblib-1.4.2-py3-none-any.whl.metadata (5.4 kB) Collecting jsonschema<5.0.0,>=4.17.3 (from llmstack) Downloading jsonschema-4.22.0-py3-none-any.whl.metadata (8.2 kB) Collecting lz4<5.0.0,>=4.3.2 (from llmstack) Downloading lz4-4.3.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.7 kB) Collecting markdown<4.0.0,>=3.4.4 (from llmstack) Downloading Markdown-3.6-py3-none-any.whl.metadata (7.0 kB) Collecting marshmallow<4.0.0,>=3.19.0 (from llmstack) Downloading marshmallow-3.21.2-py3-none-any.whl.metadata (7.1 kB) Collecting marshmallow-enum<2.0.0,>=1.5.1 (from llmstack) Downloading marshmallow_enum-1.5.1-py2.py3-none-any.whl.metadata (2.5 kB) Collecting multidict<7.0.0,>=6.0.4 (from llmstack) Downloading multidict-6.0.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.2 kB) Collecting mysqlclient<3.0.0,>=2.2.4 (from llmstack) Downloading mysqlclient-2.2.4.tar.gz (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.4/90.4 kB 1.0 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [30 lines of output] /bin/sh: 1: pkg-config: not found /bin/sh: 1: pkg-config: not found /bin/sh: 1: pkg-config: not found Trying pkg-config --exists mysqlclient Command 'pkg-config --exists mysqlclient' returned non-zero exit status 127. Trying pkg-config --exists mariadb Command 'pkg-config --exists mariadb' returned non-zero exit status 127. Trying pkg-config --exists libmariadb Command 'pkg-config --exists libmariadb' returned non-zero exit status 127. Traceback (most recent call last): File "/opt/conda/envs/llmstack_wsl/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/opt/conda/envs/llmstack_wsl/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/llmstack_wsl/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-uhsl02qq/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-uhsl02qq/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-uhsl02qq/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup exec(code, locals()) File "", line 155, in File "", line 49, in get_config_posix File "", line 28, in find_package_name Exception: Can not find valid pkg-config name. Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. (llmstack_wsl) root@Precision7530:~# pip install llmstack Collecting llmstack Using cached llmstack-0.1.0-py3-none-any.whl.metadata (13 kB) Collecting aiohttp<4.0.0,>=3.8.4 (from llmstack) Using cached aiohttp-3.9.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.5 kB) Collecting aiosignal<2.0.0,>=1.3.1 (from llmstack) Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB) Collecting anthropic<0.6.0,>=0.5.0 (from llmstack) Using cached anthropic-0.5.0-py3-none-any.whl.metadata (12 kB) Collecting anyio<4.0.0,>=3.6.2 (from llmstack) Using cached anyio-3.7.1-py3-none-any.whl.metadata (4.7 kB) Collecting asgiref<4.0.0,>=3.6.0 (from llmstack) Using cached asgiref-3.8.1-py3-none-any.whl.metadata (9.3 kB) Collecting async-timeout<5.0.0,>=4.0.2 (from llmstack) Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB) Collecting attrs<23.0.0,>=22.2.0 (from llmstack) Using cached attrs-22.2.0-py3-none-any.whl.metadata (13 kB) Collecting authlib<2.0.0,>=1.2.0 (from llmstack) Using cached Authlib-1.3.0-py2.py3-none-any.whl.metadata (3.8 kB) Collecting autobahn<24.0.0,>=23.1.2 (from llmstack) Using cached autobahn-23.6.2.tar.gz (480 kB) Preparing metadata (setup.py) ... done Collecting automat<23.0.0,>=22.10.0 (from llmstack) Using cached Automat-22.10.0-py2.py3-none-any.whl.metadata (1.0 kB) Collecting backoff<3.0.0,>=2.2.1 (from llmstack) Using cached backoff-2.2.1-py3-none-any.whl.metadata (14 kB) Collecting beautifulsoup4<5.0.0,>=4.12.2 (from llmstack) Using cached beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB) Collecting boto3<2.0.0,>=1.26.122 (from llmstack) Using cached boto3-1.34.113-py3-none-any.whl.metadata (6.6 kB) Collecting botocore<2.0.0,>=1.29.122 (from llmstack) Using cached botocore-1.34.113-py3-none-any.whl.metadata (5.7 kB) Collecting channels<5.0.0,>=4.0.0 (from llmstack) Using cached channels-4.1.0-py3-none-any.whl.metadata (4.5 kB) Collecting chroma-hnswlib<0.8.0,>=0.7.3 (from llmstack) Using cached chroma-hnswlib-0.7.3.tar.gz (31 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting chromadb<0.5.0,>=0.4.10 (from llmstack) Using cached chromadb-0.4.24-py3-none-any.whl.metadata (7.3 kB) Collecting click<9.0.0,>=8.1.3 (from llmstack) Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB) Collecting cohere==5.0.0 (from llmstack) Using cached cohere-5.0.0-py3-none-any.whl.metadata (3.0 kB) Collecting constantly<16.0.0,>=15.1.0 (from llmstack) Using cached constantly-15.1.0-py2.py3-none-any.whl.metadata (1.2 kB) Collecting croniter<3.0.0,>=2.0.1 (from llmstack) Using cached croniter-2.0.5-py2.py3-none-any.whl.metadata (25 kB) Collecting daphne<5.0.0,>=4.0.0 (from llmstack) Using cached daphne-4.1.2-py3-none-any.whl.metadata (6.5 kB) Collecting defusedxml<0.8.0,>=0.7.1 (from llmstack) Using cached defusedxml-0.7.1-py2.py3-none-any.whl.metadata (32 kB) Collecting django-jsonform<3.0.0,>=2.17.4 (from llmstack) Using cached django_jsonform-2.22.0-py3-none-any.whl.metadata (3.4 kB) Collecting django-ratelimit<5.0.0,>=4.1.0 (from llmstack) Using cached django_ratelimit-4.1.0-py2.py3-none-any.whl.metadata (2.3 kB) Collecting docker<7.0.0,>=6.1.3 (from llmstack) Using cached docker-6.1.3-py3-none-any.whl.metadata (3.5 kB) Collecting drf-yaml<4.0.0,>=3.0.1 (from llmstack) Using cached drf_yaml-3.0.1-py3-none-any.whl.metadata (3.2 kB) Collecting ffmpeg-python<0.3.0,>=0.2.0 (from llmstack) Using cached ffmpeg_python-0.2.0-py3-none-any.whl.metadata (1.7 kB) Collecting geoip2<5.0.0,>=4.7.0 (from llmstack) Using cached geoip2-4.8.0-py2.py3-none-any.whl.metadata (18 kB) Collecting google-auth<3.0.0,>=2.22.0 (from llmstack) Using cached google_auth-2.29.0-py2.py3-none-any.whl.metadata (4.7 kB) Collecting google-cloud-speech<3.0.0,>=2.26.0 (from llmstack) Using cached google_cloud_speech-2.26.0-py2.py3-none-any.whl.metadata (5.2 kB) Collecting google-generativeai<0.4.0,>=0.3.1 (from llmstack) Using cached google_generativeai-0.3.2-py3-none-any.whl.metadata (5.9 kB) Collecting grpcio-health-checking<2.0.0,>=1.53.0 (from llmstack) Using cached grpcio_health_checking-1.64.0-py3-none-any.whl.metadata (1.1 kB) Collecting gunicorn<21.0.0,>=20.1.0 (from llmstack) Using cached gunicorn-20.1.0-py3-none-any.whl.metadata (3.8 kB) Collecting h11<0.15.0,>=0.14.0 (from llmstack) Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB) Collecting h2<5.0.0,>=4.1.0 (from llmstack) Using cached h2-4.1.0-py3-none-any.whl.metadata (3.6 kB) Collecting httpcore<0.17.0,>=0.16.3 (from llmstack) Using cached httpcore-0.16.3-py3-none-any.whl.metadata (16 kB) Collecting httptools<0.6.0,>=0.5.0 (from llmstack) Using cached httptools-0.5.0.tar.gz (177 kB) Preparing metadata (setup.py) ... done Collecting httpx<0.24.0,>=0.23.3 (from llmstack) Using cached httpx-0.23.3-py3-none-any.whl.metadata (7.1 kB) Collecting hyperlink<22.0.0,>=21.0.0 (from llmstack) Using cached hyperlink-21.0.0-py2.py3-none-any.whl.metadata (1.5 kB) Requirement already satisfied: idna<4.0,>=3.4 in /opt/conda/envs/llmstack_wsl/lib/python3.12/site-packages (from llmstack) (3.7) Collecting importlib-metadata<7.0.0,>=6.0.0 (from llmstack) Using cached importlib_metadata-6.11.0-py3-none-any.whl.metadata (4.9 kB) Collecting incremental<23.0.0,>=22.10.0 (from llmstack) Using cached incremental-22.10.0-py2.py3-none-any.whl.metadata (6.0 kB) Collecting jinja2<4.0.0,>=3.1.2 (from llmstack) Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB) Collecting joblib<2.0.0,>=1.2.0 (from llmstack) Using cached joblib-1.4.2-py3-none-any.whl.metadata (5.4 kB) Collecting jsonschema<5.0.0,>=4.17.3 (from llmstack) Using cached jsonschema-4.22.0-py3-none-any.whl.metadata (8.2 kB) Collecting lz4<5.0.0,>=4.3.2 (from llmstack) Using cached lz4-4.3.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.7 kB) Collecting markdown<4.0.0,>=3.4.4 (from llmstack) Using cached Markdown-3.6-py3-none-any.whl.metadata (7.0 kB) Collecting marshmallow<4.0.0,>=3.19.0 (from llmstack) Using cached marshmallow-3.21.2-py3-none-any.whl.metadata (7.1 kB) Collecting marshmallow-enum<2.0.0,>=1.5.1 (from llmstack) Using cached marshmallow_enum-1.5.1-py2.py3-none-any.whl.metadata (2.5 kB) Collecting multidict<7.0.0,>=6.0.4 (from llmstack) Using cached multidict-6.0.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.2 kB) Collecting mysqlclient<3.0.0,>=2.2.4 (from llmstack) Using cached mysqlclient-2.2.4.tar.gz (90 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [30 lines of output] /bin/sh: 1: pkg-config: not found /bin/sh: 1: pkg-config: not found /bin/sh: 1: pkg-config: not found Trying pkg-config --exists mysqlclient Command 'pkg-config --exists mysqlclient' returned non-zero exit status 127. Trying pkg-config --exists mariadb Command 'pkg-config --exists mariadb' returned non-zero exit status 127. Trying pkg-config --exists libmariadb Command 'pkg-config --exists libmariadb' returned non-zero exit status 127. Traceback (most recent call last): File "/opt/conda/envs/llmstack_wsl/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/opt/conda/envs/llmstack_wsl/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/llmstack_wsl/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-yct4bl_f/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-yct4bl_f/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-yct4bl_f/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup exec(code, locals()) File "", line 155, in File "", line 49, in get_config_posix File "", line 28, in find_package_name Exception: Can not find valid pkg-config name. Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

skalingclouds commented 6 months ago

same

ajhai commented 4 months ago

Can you try reinstalling llmstack? We changed how we package the setup now and it should work better. Please reopen if you continue to see issues.