We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In build.rs of tensorflow-sys-0.23.0 we have the following code:
build.rs
tensorflow-sys-0.23.0
const VERSION: &str = "2.11.0"; const TAG: &str = "v2.11.0";
Which causes the following error:
error: failed to run custom build command for `tensorflow-sys v0.23.0` Caused by: process didn't exit successfully: `C:\code\cattus\target\debug\build\tensorflow-sys-ecc5cc8efd72d578\build-script-build` (exit code: 101) --- stdout cargo:rerun-if-env-changed=TENSORFLOW_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=TENSORFLOW_STATIC cargo:rerun-if-env-changed=TENSORFLOW_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR tensorflow-sys/build.rs:208: binary_url = "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflowwwww-gpu-windows-x86_64-2.10.0.zip" tensorflow-sys/build.rs:212: base_name = "libtensorflowwwww-gpu-windows-x86_64-2.10.0" tensorflow-sys/build.rs:221: file_name = "C:\\code\\cattus\\target\\debug\\build\\tensorflow-sys-f638c826b10ebfe4\\out\\libtensorflowwwww-gpu-windows-x86_64-2.10.0.zip" --- stderr thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidArchive("Could not find central directory end")', C:\Users\ugav\.cargo\registry\src\github.com-1ecc6299db9ec823\tensorflow-sys-0.23.0\build.rs:154:45 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I fixed it by changing the version to 2.10.0:
const VERSION: &str = "2.10.0"; const TAG: &str = "v2.10.0";
The text was updated successfully, but these errors were encountered:
duplication of #400
Sorry, something went wrong.
No branches or pull requests
In
build.rs
oftensorflow-sys-0.23.0
we have the following code:Which causes the following error:
I fixed it by changing the version to 2.10.0:
The text was updated successfully, but these errors were encountered: