Skip to content

pip install wren cli does not work #2186

@sovetskiysn

Description

@sovetskiysn

conda create --name wren_cli python=3.13

:~$ pip install "wren-engine[mysql,ui,memory]"
Collecting wren-engine[memory,mysql,ui]
Using cached wren_engine-0.2.1-py3-none-any.whl.metadata (11 kB)
Collecting boto3>=1.26 (from wren-engine[memory,mysql,ui])
Using cached boto3-1.42.87-py3-none-any.whl.metadata (6.7 kB)
Collecting duckdb>=1.0 (from wren-engine[memory,mysql,ui])
Downloading duckdb-1.5.1-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.metadata (4.2 kB)
Collecting ibis-framework>=10 (from wren-engine[memory,mysql,ui])
Using cached ibis_framework-12.0.0-py3-none-any.whl.metadata (21 kB)
Collecting loguru>=0.7 (from wren-engine[memory,mysql,ui])
Using cached loguru-0.7.3-py3-none-any.whl.metadata (22 kB)
Collecting opendal>=0.45 (from wren-engine[memory,mysql,ui])
Using cached opendal-0.46.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Collecting pandas>=2 (from wren-engine[memory,mysql,ui])
Downloading pandas-3.0.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.metadata (79 kB)
Collecting pyarrow-hotfix>=0.6 (from wren-engine[memory,mysql,ui])
Using cached pyarrow_hotfix-0.7-py3-none-any.whl.metadata (3.6 kB)
Collecting pyarrow>=14 (from wren-engine[memory,mysql,ui])
Downloading pyarrow-23.0.1-cp313-cp313-manylinux_2_28_x86_64.whl.metadata (3.1 kB)
Collecting pyasn1>=0.6.3 (from wren-engine[memory,mysql,ui])
Using cached pyasn1-0.6.3-py3-none-any.whl.metadata (8.4 kB)
Collecting pydantic>=2 (from wren-engine[memory,mysql,ui])
Using cached pydantic-2.12.5-py3-none-any.whl.metadata (90 kB)
Collecting pyopenssl>=26.0.0 (from wren-engine[memory,mysql,ui])
Using cached pyopenssl-26.0.0-py3-none-any.whl.metadata (18 kB)
Collecting pyyaml>=6.0 (from wren-engine[memory,mysql,ui])
Downloading pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (2.4 kB)
Collecting requests>=2.33.0 (from wren-engine[memory,mysql,ui])
Using cached requests-2.33.1-py3-none-any.whl.metadata (4.8 kB)
Collecting sqlglot>=27 (from wren-engine[memory,mysql,ui])
Using cached sqlglot-30.4.2-py3-none-any.whl.metadata (24 kB)
Collecting typer>=0.12 (from wren-engine[memory,mysql,ui])
Using cached typer-0.24.1-py3-none-any.whl.metadata (16 kB)
Collecting wren-core-py>=0.1 (from wren-engine[memory,mysql,ui])
Using cached wren_core_py-0.1.0.tar.gz (173 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [47 lines of output]
Python reports SOABI: cpython-313-x86_64-linux-gnu
Computed rustc target triple: x86_64-unknown-linux-gnu
Installation directory: /home/svc-jax-dlh/.cache/puccinialin
Rustup already downloaded
Installing rust to /home/svc-jax-dlh/.cache/puccinialin/rustup
warn: It looks like you have an existing rustup settings file at:
warn: /home/svc-jax-dlh/.cache/puccinialin/rustup/settings.toml
warn: Rustup will install the default toolchain as specified in the settings file,
warn: instead of the one inferred from the default host triple.
info: profile set to minimal
info: default host triple is x86_64-unknown-linux-gnu
warn: Updating existing toolchain, profile choice will be ignored
info: syncing channel updates for stable-x86_64-unknown-linux-gnu
info: default toolchain set to stable-x86_64-unknown-linux-gnu
Checking if cargo is installed
cargo 1.94.1 (29ea6fb6a 2026-03-24)
Updating crates.io index
Updating git repository https://github.com/Canner/datafusion.git
error: failed to get datafusion as a dependency of package wren-core v0.1.0 (/tmp/pip-install-eqyyd1oi/wren-core-py_4d85ff015a174bacaeb94623083040f9/wren-core/core)
... which satisfies path dependency wren-core (locked to 0.1.0) of package wren-core-py v0.1.0 (/tmp/pip-install-eqyyd1oi/wren-core-py_4d85ff015a174bacaeb94623083040f9/wren-core-py)

  Caused by:
    failed to load source for dependency `datafusion`
  
  Caused by:
    Unable to update https://github.com/Canner/datafusion.git?branch=canner%2Fv49.0.1#afff2bb5
  
  Caused by:
    failed to fetch into: /home/svc-jax-dlh/.cache/puccinialin/cargo/git/db/datafusion-9209184a3242d901
  
  Caused by:
    revision afff2bb587eeb002737d05688b0c6d7548179edc not found
  
  Caused by:
    network failure seems to have happened
    if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
    https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli
  
  Caused by:
    SSL error: unknown error; class=Ssl (16)
  💥 maturin failed
    Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
    Caused by: `cargo metadata` exited with an error:
  Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-lxyy5e70', '--interpreter', '/home/svc-jax-dlh/miniconda3/envs/wren_cli/bin/python3.13']' returned non-zero exit status 1.
  Checking for Rust toolchain....
  Rust not found, installing into a temporary directory
  Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-lxyy5e70 --interpreter /home/svc-jax-dlh/miniconda3/envs/wren_cli/bin/python3.13`
  [end of output]

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

× Encountered error while generating package metadata.
╰─> wren-core-py

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

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