Skip to content

安装失败 #4

Description

@pyfreyr

安装环境

CentOS Linux release 7.9.2009 (Core)

Python 3.12


使用pip

$ pip install rusty-req

ERROR: Could not find a version that satisfies the requirement rusty-req (from versions: none)
ERROR: No matching distribution found for rusty-req

使用uv

$ uv add rusty-req       

Resolved 37 packages in 2.12s
error: Distribution `rusty-req==0.3.83 @ registry+http://mirrors.aliyun.com/pypi/simple` can't be installed because it doesn't have a source distribution or wheel for the current platform

hint: You're on Linux (`manylinux_2_17_x86_64`), but `rusty-req` (v0.3.83) only has wheels for the following platforms: `manylinux_2_28_x86_64`, `macosx_10_12_x86_64`, `macosx_11_0_arm64`, `win_amd64`; consider adding your platform to `tool.uv.required-environments` to ensure uv resolves to a version with compatible wheels

maturin编译

$ maturin build --release

warning: unused import: `pyo3_asyncio::generic::future_into_py`
 --> src/request/executor.rs:5:5
  |
5 | use pyo3_asyncio::generic::future_into_py;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused import: `StatusCode`
 --> src/request/executor.rs:6:30
  |
6 | use reqwest::{Client, Proxy, StatusCode};
  |                              ^^^^^^^^^^

warning: unused import: `execute_single_request`
  --> src/request/mod.rs:10:20
   |
10 | pub use executor::{execute_single_request, fetch_single, fetch_requests};
   |                    ^^^^^^^^^^^^^^^^^^^^^^

warning: `rusty-req` (lib) generated 3 warnings (run `cargo fix --lib -p rusty-req` to apply 3 suggestions)
    Finished `release` profile [optimized] target(s) in 36.14s
💥 maturin failed
  Caused by: Failed to parse patchelf version, auditwheel repair requires patchelf >= 0.14.0.
  Caused by: unexpected end of input while parsing minor version number

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions