python無法安裝Gradio

在進行pip install Gradio時出現錯誤,無法安裝

Collecting gradio
Using cached gradio-3.21.0-py3-none-any.whl (15.8 MB)
Collecting jinja2
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting matplotlib
Using cached matplotlib-3.7.1-cp39-cp39-win32.whl (7.3 MB)
Collecting fastapi
Using cached fastapi-0.94.1-py3-none-any.whl (56 kB)
Collecting httpx
Using cached httpx-0.23.3-py3-none-any.whl (71 kB)
Requirement already satisfied: requests in c:\users\aaa\appdata\local\programs\python\python39-32\lib\site-packages (from gradio) (2.28.1)
Collecting pyyaml
Using cached PyYAML-6.0-cp39-cp39-win32.whl (138 kB)
Collecting huggingface-hub>=0.13.0
Using cached huggingface_hub-0.13.2-py3-none-any.whl (199 kB)
Collecting python-multipart
Using cached python_multipart-0.0.6-py3-none-any.whl (45 kB)
Collecting typing-extensions
Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
Collecting aiohttp
Using cached aiohttp-3.8.4-cp39-cp39-win32.whl (307 kB)
Collecting orjson
Using cached orjson-3.8.7.tar.gz (655 kB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Collecting fsspec
Using cached fsspec-2023.3.0-py3-none-any.whl (145 kB)
Collecting altair>=4.2.0
Using cached altair-4.2.2-py3-none-any.whl (813 kB)
Collecting uvicorn
Using cached uvicorn-0.21.1-py3-none-any.whl (57 kB)
Requirement already satisfied: pillow in c:\users\aaa\appdata\local\programs\python\python39-32\lib\site-packages (from gradio) (9.2.0)
Collecting aiofiles
Using cached aiofiles-23.1.0-py3-none-any.whl (14 kB)
Collecting pydub
Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Collecting pandas
Using cached pandas-1.5.3-cp39-cp39-win32.whl (9.7 MB)
Collecting mdit-py-plugins<=0.3.3
Using cached mdit_py_plugins-0.3.3-py3-none-any.whl (50 kB)
Requirement already satisfied: numpy in c:\users\aaa\appdata\local\programs\python\python39-32\lib\site-packages (from gradio) (1.23.4)
Collecting pydantic
Using cached pydantic-1.10.6-py3-none-any.whl (156 kB)
Collecting markdown-it-py[linkify]>=2.0.0
Using cached markdown_it_py-2.2.0-py3-none-any.whl (84 kB)
Collecting markupsafe
Using cached MarkupSafe-2.1.2-cp39-cp39-win32.whl (16 kB)
Collecting ffmpy
Using cached ffmpy-0.3.0-py3-none-any.whl
Collecting websockets>=10.0
Using cached websockets-10.4-cp39-cp39-win32.whl (100 kB)
Collecting toolz
Using cached toolz-0.12.0-py3-none-any.whl (55 kB)
Collecting entrypoints
Using cached entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting jsonschema>=3.0
Using cached jsonschema-4.17.3-py3-none-any.whl (90 kB)
Collecting tqdm>=4.42.1
Using cached tqdm-4.65.0-py3-none-any.whl (77 kB)
Collecting packaging>=20.9
Using cached packaging-23.0-py3-none-any.whl (42 kB)
Collecting filelock
Using cached filelock-3.10.0-py3-none-any.whl (9.9 kB)
Collecting mdurl~=0.1
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting linkify-it-py<3,>=1
Using cached linkify_it_py-2.0.0-py3-none-any.whl (19 kB)
Collecting pytz>=2020.1
Using cached pytz-2022.7.1-py2.py3-none-any.whl (499 kB)
Collecting python-dateutil>=2.8.1
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting frozenlist>=1.1.1
Using cached frozenlist-1.3.3-cp39-cp39-win32.whl (31 kB)
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting attrs>=17.3.0
Using cached attrs-22.2.0-py3-none-any.whl (60 kB)
Collecting yarl<2.0,>=1.0
Using cached yarl-1.8.2-cp39-cp39-win32.whl (53 kB)
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.4-cp39-cp39-win32.whl (25 kB)
Collecting async-timeout<5.0,>=4.0.0a3
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in c:\users\aaa\appdata\local\programs\python\python39-32\lib\site-packages (from aiohttp->gradio) (2.1.1)
Collecting starlette<0.27.0,>=0.26.1
Using cached starlette-0.26.1-py3-none-any.whl (66 kB)
Collecting httpcore<0.17.0,>=0.15.0
Using cached httpcore-0.16.3-py3-none-any.whl (69 kB)
Requirement already satisfied: certifi in c:\users\aaa\appdata\local\programs\python\python39-32\lib\site-packages (from httpx->gradio) (2022.6.15.1)
Collecting rfc3986[idna2008]<2,>=1.3
Using cached rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
Collecting sniffio
Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting importlib-resources>=3.2.0
Using cached importlib_resources-5.12.0-py3-none-any.whl (36 kB)
Collecting cycler>=0.10
Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.4.4-cp39-cp39-win32.whl (46 kB)
Collecting fonttools>=4.22.0
Using cached fonttools-4.39.2-py3-none-any.whl (1.0 MB)
Requirement already satisfied: pyparsing>=2.3.1 in c:\users\aaa\appdata\local\programs\python\python39-32\lib\site-packages (from matplotlib->gradio) (3.0.9)
Collecting contourpy>=1.0.1
Using cached contourpy-1.0.7-cp39-cp39-win32.whl (143 kB)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\aaa\appdata\local\programs\python\python39-32\lib\site-packages (from requests->gradio) (1.26.12)
Requirement already satisfied: idna<4,>=2.5 in c:\users\aaa\appdata\local\programs\python\python39-32\lib\site-packages (from requests->gradio) (3.3)
Requirement already satisfied: click>=7.0 in c:\users\aaa\appdata\local\programs\python\python39-32\lib\site-packages (from uvicorn->gradio) (8.1.3)
Collecting h11>=0.8
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Requirement already satisfied: colorama in c:\users\aaa\appdata\local\programs\python\python39-32\lib\site-packages (from click>=7.0->uvicorn->gradio) (0.4.6)
Collecting anyio<5.0,>=3.0
Using cached anyio-3.6.2-py3-none-any.whl (80 kB)
Collecting zipp>=3.1.0
Using cached zipp-3.15.0-py3-none-any.whl (6.8 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Using cached pyrsistent-0.19.3-cp39-cp39-win32.whl (60 kB)
Collecting uc-micro-py
Using cached uc_micro_py-1.0.1-py3-none-any.whl (6.2 kB)
Requirement already satisfied: six>=1.5 in c:\users\aaa\appdata\local\programs\python\python39-32\lib\site-packages (from python-dateutil>=2.8.1->pandas->gradio) (1.16.0)
Building wheels for collected packages: orjson
Building wheel for orjson (pyproject.toml) … error
error: subprocess-exited-with-error

× Building wheel for orjson (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [400 lines of output]
Running maturin pep517 build-wheel -i C:\Users\AAA\AppData\Local\Programs\Python\Python39-32\python.exe --compatibility off --target i686-pc-windows-msvc
馃摝 Including license file “C:\Users\AAA\AppData\Local\Temp\pip-install-k7yxwcj_\orjson_3bb915d295fa4bd99c56e1d2e72ad161\LICENSE-APACHE”
馃摝 Including license file “C:\Users\AAA\AppData\Local\Temp\pip-install-k7yxwcj_\orjson_3bb915d295fa4bd99c56e1d2e72ad161\LICENSE-MIT”
馃嵐 Building a mixed python/rust project
馃敆 Found pyo3-ffi bindings
馃悕 Found CPython 3.9 at C:\Users\AAA\AppData\Local\Programs\Python\Python39-32\python.exe
Compiling target-lexicon v0.12.6
Compiling autocfg v1.1.0
Compiling once_cell v1.17.1
Compiling serde v1.0.152
Compiling version_check v0.9.4
Compiling rustversion v1.0.11
Compiling libc v0.2.139
Compiling cfg-if v1.0.0
Compiling ryu v1.0.12
Compiling cc v1.0.79
Compiling itoa v1.0.5
Compiling serde_json v1.0.93
error: could not compile cfg-if due to 3 previous errors
warning: build failed, waiting for other jobs to finish…
error: could not compile ryu due to 39 previous errors
error: could not compile itoa due to 10 previous errors
馃挜 maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with “exit code: 101”: "cargo" "rustc" "--release" "--target" "i686-pc-windows-msvc" "--manifest-path" "C:\\Users\\AAA\\AppData\\Local\\Temp\\pip-install-k7yxwcj_\\orjson_3bb915d295fa4bd99c56e1d2e72ad161\\Cargo.toml" "--message-format" "json" "--lib"
error[E0463]: can’t find crate for core
|
= note: the i686-pc-windows-msvc target may not be installed
= help: consider downloading the target with rustup target add i686-pc-windows-msvc

  error[E0463]: can't find crate for `compiler_builtins`


  error: aborting due to 2 previous errors


  For more information about this error, try `rustc --explain E0463`.

  error[E0463]: can't find crate for `core`
    |
    = note: the `i686-pc-windows-msvc` target may not be installed
    = help: consider downloading the target with `rustup target add i686-pc-windows-msvc`


  error[E0463]: can't find crate for `compiler_builtins`


  error[E0463]: can't find crate for `core`
    |
    = note: the `i686-pc-windows-msvc` target may not be installed
    = help: consider downloading the target with `rustup target add i686-pc-windows-msvc`


  error[E0463]: can't find crate for `compiler_builtins`


  error[E0463]: can't find crate for `core`
   --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\buffer\mod.rs:2:5
    |
  2 | use core::mem::MaybeUninit;
    |     ^^^^ can't find crate
    |
    = note: the `i686-pc-windows-msvc` target may not be installed
    = help: consider downloading the target with `rustup target add i686-pc-windows-msvc`


  error[E0463]: can't find crate for `core`
   --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\buffer\mod.rs:3:5
    |
  3 | use core::{slice, str};
    |     ^^^^ can't find crate
    |
    = note: the `i686-pc-windows-msvc` target may not be installed
    = help: consider downloading the target with `rustup target add i686-pc-windows-msvc`


  error[E0463]: can't find crate for `core`
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\d2s.rs:27:5
     |
  27 | use core::mem::MaybeUninit;
     |     ^^^^ can't find crate
     |
     = note: the `i686-pc-windows-msvc` target may not be installed
     = help: consider downloading the target with `rustup target add i686-pc-windows-msvc`


  error[E0463]: can't find crate for `core`
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\d2s_intrinsics.rs:21:5
     |
  21 | use core::ptr;
     |     ^^^^ can't find crate
     |
     = note: the `i686-pc-windows-msvc` target may not be installed
     = help: consider downloading the target with `rustup target add i686-pc-windows-msvc`


  error[E0463]: can't find crate for `core`
   --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\pretty\exponent.rs:2:5
    |
  2 | use core::ptr;
    |     ^^^^ can't find crate
    |
    = note: the `i686-pc-windows-msvc` target may not be installed
    = help: consider downloading the target with `rustup target add i686-pc-windows-msvc`


  error[E0463]: can't find crate for `core`
   --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\pretty\mantissa.rs:2:5
    |
  2 | use core::ptr;
    |     ^^^^ can't find crate
    |
    = note: the `i686-pc-windows-msvc` target may not be installed
    = help: consider downloading the target with `rustup target add i686-pc-windows-msvc`


  error[E0463]: can't find crate for `core`
   --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\pretty\mod.rs:9:5
    |
  9 | use core::ptr;
    |     ^^^^ can't find crate
    |
    = note: the `i686-pc-windows-msvc` target may not be installed
    = help: consider downloading the target with `rustup target add i686-pc-windows-msvc`


  error: cannot find macro `debug_assert` in this scope
     --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\pretty\mod.rs:181:5
      |
  181 |     debug_assert!(k >= -45);
      |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\pretty\mod.rs:75:5
     |
  75 |     debug_assert!(k >= -324);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\pretty\exponent.rs:39:5
     |
  39 |     debug_assert!(k < 100);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\pretty\exponent.rs:13:5
     |
  13 |     debug_assert!(k < 1000);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
     --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\f2s_intrinsics.rs:110:9
      |
  110 |         debug_assert!(i < d2s::DOUBLE_POW5_SPLIT.len() as u32);
      |         ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\f2s_intrinsics.rs:89:9
     |
  89 |         debug_assert!(q < d2s::DOUBLE_POW5_INV_SPLIT.len() as u32);
     |         ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\f2s_intrinsics.rs:70:5
     |
  70 |     debug_assert!(shifted_sum <= u32::max_value() as u64);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\f2s_intrinsics.rs:59:5
     |
  59 |     debug_assert!(shift > 32);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\f2s_intrinsics.rs:30:9
     |
  30 |         debug_assert!(value != 0);
     |         ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\d2s_intrinsics.rs:65:5
     |
  65 |     debug_assert!(p < 64);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\d2s_intrinsics.rs:64:5
     |
  64 |     debug_assert!(value != 0);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\d2s_intrinsics.rs:42:9
     |
  42 |         debug_assert!(value != 0);
     |         ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
     --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\d2s.rs:178:21
      |
  178 |                     debug_assert!(i < DOUBLE_POW5_SPLIT.len() as i32);
      |                     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
     --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\d2s.rs:136:21
      |
  136 |                     debug_assert!(q < DOUBLE_POW5_INV_SPLIT.len() as u32);
      |                     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\d2s.rs:41:5
     |
  41 |     debug_assert!(v < 100000000000000000);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\common.rs:93:5
     |
  93 |     debug_assert!(e <= 2620);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\common.rs:92:5
     |
  92 |     debug_assert!(e >= 0);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\common.rs:84:5
     |
  84 |     debug_assert!(e <= 1650);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\common.rs:83:5
     |
  83 |     debug_assert!(e >= 0);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\common.rs:69:5
     |
  69 |     debug_assert!(e <= 3528);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\common.rs:68:5
     |
  68 |     debug_assert!(e >= 0);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\common.rs:58:5
     |
  58 |     debug_assert!(e <= 3528);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\common.rs:57:5
     |
  57 |     debug_assert!(e >= 0);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\common.rs:27:5
     |
  27 |     debug_assert!(v < 1000000000);
     |     ^^^^^^^^^^^^


  error: cannot find macro `debug_assert` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\buffer\mod.rs:75:13
     |
  75 |             debug_assert!(n <= self.bytes.len());
     |             ^^^^^^^^^^^^


  error[E0405]: cannot find trait `Copy` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\buffer\mod.rs:82:6
     |
  82 | impl Copy for Buffer {}
     |      ^^^^ not found in this scope


  error[E0405]: cannot find trait `Clone` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\buffer\mod.rs:84:6
     |
  84 | impl Clone for Buffer {
     |      ^^^^^ not found in this scope


  error[E0405]: cannot find trait `Default` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\buffer\mod.rs:91:6
     |
  91 | impl Default for Buffer {
     |      ^^^^^^^ not found in this scope


  error[E0405]: cannot find trait `Copy` in this scope
     --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-1.0.12\src\buffer\mod.rs:108:19
      |
  108 | pub trait Sealed: Copy {
      |                   ^^^^ not found in this scope


  error[E0463]: can't find crate for `core`
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\itoa-1.0.5\src\lib.rs:44:5
     |
  44 | use core::mem::{self, MaybeUninit};
     |     ^^^^ can't find crate
     |
     = note: the `i686-pc-windows-msvc` target may not be installed
     = help: consider downloading the target with `rustup target add i686-pc-windows-msvc`


  error: aborting due to 38 previous errors


  Some errors have detailed explanations: E0405, E0463.

  For more information about an error, try `rustc --explain E0405`.

  error[E0463]: can't find crate for `core`
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\itoa-1.0.5\src\lib.rs:45:5
     |
  45 | use core::{ptr, slice, str};
     |     ^^^^ can't find crate
     |
     = note: the `i686-pc-windows-msvc` target may not be installed
     = help: consider downloading the target with `rustup target add i686-pc-windows-msvc`


  error: cannot find macro `debug_assert_eq` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\itoa-1.0.5\src\udiv128.rs:44:5
     |
  44 |     debug_assert_eq!(quot, n / d as u128);
     |     ^^^^^^^^^^^^^^^


  error: cannot find macro `debug_assert_eq` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\itoa-1.0.5\src\udiv128.rs:45:5
     |
  45 |     debug_assert_eq!(rem as u128, n % d as u128);
     |     ^^^^^^^^^^^^^^^


  error[E0405]: cannot find trait `Default` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\itoa-1.0.5\src\lib.rs:63:6
     |
  63 | impl Default for Buffer {
     |      ^^^^^^^ not found in this scope


  error[E0405]: cannot find trait `Clone` in this scope
    --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\itoa-1.0.5\src\lib.rs:70:6
     |
  70 | impl Clone for Buffer {
     |      ^^^^^ not found in this scope


  error[E0405]: cannot find trait `Copy` in this scope
     --> C:\Users\AAA\.cargo\registry\src\github.com-1ecc6299db9ec823\itoa-1.0.5\src\lib.rs:105:23
      |
  105 |     pub trait Sealed: Copy {
      |                       ^^^^ not found in this scope


  error: aborting due to 9 previous errors


  Some errors have detailed explanations: E0405, E0463.

  For more information about an error, try `rustc --explain E0405`.

  Error: command ['maturin', 'pep517', 'build-wheel', '-i', 'C:\\Users\\AAA\\AppData\\Local\\Programs\\Python\\Python39-32\\python.exe', '--compatibility', 'off', '--target', 'i686-pc-windows-msvc'] returned non-zero exit status 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for orjson
Failed to build orjson
ERROR: Could not build wheels for orjson, which is required to install pyproject.toml-based projects

看起來是在裝 ordjson 裝不起來
從這裡 ijl/orjson: Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy (github.com)

pip install --upgrade "pip>=20.3" # manylinux_x_y, universal2 wheel support
pip install --upgrade orjson

先跑第一條更新 pip 再試試看原本的 Gradio 能不能裝成功?