Skip to content

Failed Pip Install - libsql-ffi v0.2.1 #63

@itsnumpty

Description

@itsnumpty

error: failed to run custom build command forlibsql-ffi v0.2.1 (https://github.com/penberg/libsql/?rev=5a806fe53cc84a5a49853d4ae30bad64b7210c67#5a806fe5)`

  Caused by:
    process didn't exit successfully: `C:\Users\<>\AppData\Local\Temp\pip-install-kwpyryow\libsql-experimental_12cb8194173940f88b6ecbc5b9c5d2ec\target\release\build\libsql-ffi-8105b99e0fa61d6e\build-script-build` (exit code: 101)
    --- stdout
    cargo:rerun-if-changed=bundled/src/sqlite3.c
    cargo:rerun-if-changed=bundled/SQLite3MultipleCiphers/build/libsqlite3mc_static.a
    cargo:lib_dir=C:\Users\<>\AppData\Local\Temp\pip-install-kwpyryow\libsql-experimental_12cb8194173940f88b6ecbc5b9c5d2ec\target\release\build\libsql-ffi-627ab9f5a78bbde9\out
    Running `cmake` with options: -DCMAKE_BUILD_TYPE=Release -DSQLITE3MC_STATIC=ON -DCODEC_TYPE=AES256 -DSQLITE3MC_BUILD_SHELL=OFF -DSQLITE_SHELL_IS_UTF8=OFF -DSQLITE_USER_AUTHENTICATION=OFF -DSQLITE_SECURE_DELETE=OFF -DSQLITE_ENABLE_COLUMN_METADATA=ON -DSQLITE_USE_URI=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON

    --- stderr
    thread 'main' panicked at C:\Users\<>\.cargo\git\checkouts\libsql-e519d6234c1a233a\5a806fe\libsql-ffi\build.rs:358:33:
    called `Result::unwrap()` on an `Err` value: Error { kind: NotFound, message: "program not found" }
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  warning: build failed, waiting for other jobs to finish...
  💥 maturin failed
    Caused by: Failed to build a native library through cargo
    Caused by: Cargo build finished with "exit code: 101": `"cargo" "rustc" "--features" "pyo3/extension-module" "--message-format" "json-render-diagnostics" "--manifest-path" "C:\\Users\\<>\\AppData\\Local\\Temp\\pip-install-kwpyryow\\libsql-experimental_12cb8194173940f88b6ecbc5b9c5d2ec\\Cargo.toml" "--release" "--lib"`
  Error: command ['maturin', 'pep517', 'build-wheel', '-i', 'C:\\Users\\<>\\AppData\\Local\\Programs\\Python\\Python310\\python.exe', '--compatibility', 'off'] returned non-zero exit status 1`

Cannot pip install, fails build. This was closed off for OS X but no fix found for Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions