An error occurred while installing the package

There is a problem. I am getting an error when trying to install Streamlink, Is this caused by missing Packages?

root@OpenWrt:~# pip install streamlink
Collecting streamlink
  Using cached streamlink-4.2.0-py3-none-any.whl (347 kB)
Requirement already satisfied: requests<3.0,>=2.26.0 in /usr/lib/python3.9/site-                                                                                                                                                             packages (from streamlink) (2.28.1)
Collecting pycryptodome<4,>=3.4.3
  Using cached pycryptodome-3.15.0.tar.gz (4.5 MB)
  Preparing metadata (setup.py) ... done
Collecting isodate
  Using cached isodate-0.6.1-py2.py3-none-any.whl (41 kB)
Collecting pycountry
  Using cached pycountry-22.3.5-py2.py3-none-any.whl
Collecting lxml<5.0,>=4.6.4
  Using cached lxml-4.9.1-cp39-cp39-musllinux_1_1_aarch64.whl (7.5 MB)
Requirement already satisfied: websocket-client<2.0,>=1.2.1 in /usr/lib/python3.9/site-packages (from streamlink) (1.3.3)
Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in /usr/lib/python3.9/site-packages (from streamlink) (1.7.1)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.9/site-packages (from requests<3.0,>=2.26.0->streamlink) (2022.6.15)
Requirement already satisfied: charset-normalizer<3,>=2 in /usr/lib/python3.9/site-packages (from requests<3.0,>=2.26.0->streamlink) (2.1.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.9/site-packages (from requests<3.0,>=2.26.0->streamlink) (1.26.10)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3.9/site-packages (from requests<3.0,>=2.26.0->streamlink) (3.3)
Requirement already satisfied: six in /usr/lib/python3.9/site-packages (from isodate->streamlink) (1.16.0)
Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (from pycountry->streamlink) (58.1.0)
Building wheels for collected packages: pycryptodome
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for pycryptodome (setup.py) ... error
  ERROR: Failed building wheel for pycryptodome
  Running setup.py clean for pycryptodome
Failed to build pycryptodome
Installing collected packages: pycryptodome, pycountry, lxml, isodate, streamlink
  error: subprocess-exited-with-error

  × Running setup.py install for pycryptodome did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Running setup.py install for pycryptodome ... error
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pycryptodome

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


What happens if you try to install pycryptodome?

should be the same error

root@OpenWrt:~# pip install pycryptodome
Collecting pycryptodome
  Downloading pycryptodome-3.15.0.tar.gz (4.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 2.4 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: pycryptodome
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for pycryptodome (setup.py) ... error
  ERROR: Failed building wheel for pycryptodome
  Running setup.py clean for pycryptodome
Failed to build pycryptodome
Installing collected packages: pycryptodome
  error: subprocess-exited-with-error

  × Running setup.py install for pycryptodome did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Running setup.py install for pycryptodome ... error
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pycryptodome

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