termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.22k stars 3.04k forks source link

error when trying to install pyinstaller #19542

Closed 021Bedy closed 7 months ago

021Bedy commented 7 months ago
└─[Discord-All-Tools-In-One]-} python -m pip install -r requirements.txt
Collecting discord_webhook (from -r requirements.txt (line 1))
  Using cached discord_webhook-1.3.1-py3-none-any.whl.metadata (13 kB)
Requirement already satisfied: requests in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from -r requirements.txt (line 2)) (2.31.0)
Requirement already satisfied: colorama in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from -r requirements.txt (line 3)) (0.4.3)
Collecting plyer (from -r requirements.txt (line 4))
  Using cached plyer-2.1.0-py2.py3-none-any.whl.metadata (61 kB)
Collecting discord.py (from -r requirements.txt (line 5))
  Using cached discord.py-2.3.2-py3-none-any.whl.metadata (4.9 kB)
Requirement already satisfied: selenium in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from -r requirements.txt (line 6)) (4.17.2)
Collecting beautifulsoup4 (from -r requirements.txt (line 7))
  Using cached beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB)
Requirement already satisfied: Pillow in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from -r requirements.txt (line 8)) (10.2.0)
Collecting PyAutoGUI (from -r requirements.txt (line 9))
  Using cached PyAutoGUI-0.9.54-py3-none-any.whl
Collecting pyperclip (from -r requirements.txt (line 10))
  Using cached pyperclip-1.8.2-py3-none-any.whl
Requirement already satisfied: aiohttp in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from -r requirements.txt (line 12)) (3.9.3)
Collecting pypresence (from -r requirements.txt (line 13))
  Using cached pypresence-4.3.0-py2.py3-none-any.whl.metadata (4.0 kB)
Collecting pyinstaller (from -r requirements.txt (line 14))
  Using cached pyinstaller-6.5.0.tar.gz (4.2 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting dhooks (from -r requirements.txt (line 15))
  Using cached dhooks-1.1.4-py3-none-any.whl
Collecting pystyle (from -r requirements.txt (line 16))
  Using cached pystyle-2.9-py3-none-any.whl.metadata (343 bytes)
Requirement already satisfied: charset-normalizer<4,>=2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from requests->-r requirements.txt (line 2)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from requests->-r requirements.txt (line 2)) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from requests->-r requirements.txt (line 2)) (2.2.1)
Requirement already satisfied: certifi>=2017.4.17 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from requests->-r requirements.txt (line 2)) (2022.12.7)
Requirement already satisfied: typing-extensions~=4.9 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from selenium->-r requirements.txt (line 6)) (4.9.0)
Requirement already satisfied: trio~=0.17 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from selenium->-r requirements.txt (line 6)) (0.24.0)
Requirement already satisfied: trio-websocket~=0.9 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from selenium->-r requirements.txt (line 6)) (0.11.1)
Collecting soupsieve>1.2 (from beautifulsoup4->-r requirements.txt (line 7))
  Using cached soupsieve-2.5-py3-none-any.whl.metadata (4.7 kB)
Collecting pymsgbox (from PyAutoGUI->-r requirements.txt (line 9))
  Using cached PyMsgBox-1.0.9-py3-none-any.whl
Collecting pytweening>=1.0.4 (from PyAutoGUI->-r requirements.txt (line 9))
  Using cached pytweening-1.2.0-py3-none-any.whl
Collecting pyscreeze>=0.1.21 (from PyAutoGUI->-r requirements.txt (line 9))
  Using cached PyScreeze-0.1.30-py3-none-any.whl
Collecting pygetwindow>=0.0.5 (from PyAutoGUI->-r requirements.txt (line 9))
  Using cached PyGetWindow-0.0.9-py3-none-any.whl
Collecting mouseinfo (from PyAutoGUI->-r requirements.txt (line 9))
  Using cached MouseInfo-0.1.3-py3-none-any.whl
Collecting python3-Xlib (from PyAutoGUI->-r requirements.txt (line 9))
  Using cached python3_xlib-0.15-py3-none-any.whl
Requirement already satisfied: aiosignal>=1.1.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from aiohttp->-r requirements.txt (line 12)) (1.3.1)
Requirement already satisfied: attrs>=17.3.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from aiohttp->-r requirements.txt (line 12)) (23.2.0)
Requirement already satisfied: frozenlist>=1.1.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from aiohttp->-r requirements.txt (line 12)) (1.4.1)
Requirement already satisfied: multidict<7.0,>=4.5 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from aiohttp->-r requirements.txt (line 12)) (6.0.5)
Requirement already satisfied: yarl<2.0,>=1.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from aiohttp->-r requirements.txt (line 12)) (1.9.4)
Requirement already satisfied: setuptools>=42.0.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from pyinstaller->-r requirements.txt (line 14)) (69.1.0)
Collecting altgraph (from pyinstaller->-r requirements.txt (line 14))
  Using cached altgraph-0.17.4-py2.py3-none-any.whl.metadata (7.3 kB)
Collecting pyinstaller-hooks-contrib>=2024.3 (from pyinstaller->-r requirements.txt (line 14))
  Using cached pyinstaller_hooks_contrib-2024.3-py2.py3-none-any.whl.metadata (16 kB)
Requirement already satisfied: packaging>=22.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from pyinstaller->-r requirements.txt (line 14)) (23.2)
Collecting pyrect (from pygetwindow>=0.0.5->PyAutoGUI->-r requirements.txt (line 9))
  Using cached PyRect-0.2.0-py2.py3-none-any.whl
Requirement already satisfied: sortedcontainers in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from trio~=0.17->selenium->-r requirements.txt (line 6)) (2.4.0)
Requirement already satisfied: outcome in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from trio~=0.17->selenium->-r requirements.txt (line 6)) (1.3.0.post0)
Requirement already satisfied: sniffio>=1.3.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from trio~=0.17->selenium->-r requirements.txt (line 6)) (1.3.0)
Requirement already satisfied: wsproto>=0.14 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from trio-websocket~=0.9->selenium->-r requirements.txt (line 6)) (1.2.0)
Requirement already satisfied: pysocks!=1.5.7,<2.0,>=1.5.6 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from urllib3[socks]<3,>=1.26->selenium->-r requirements.txt (line 6)) (1.7.1)
Requirement already satisfied: h11<1,>=0.9.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from wsproto>=0.14->trio-websocket~=0.9->selenium->-r requirements.txt (line 6)) (0.14.0)
Using cached discord_webhook-1.3.1-py3-none-any.whl (13 kB)
Using cached plyer-2.1.0-py2.py3-none-any.whl (142 kB)
Using cached discord.py-2.3.2-py3-none-any.whl (1.1 MB)
Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
Using cached pypresence-4.3.0-py2.py3-none-any.whl (11 kB)
Using cached pystyle-2.9-py3-none-any.whl (13 kB)
Using cached pyinstaller_hooks_contrib-2024.3-py2.py3-none-any.whl (329 kB)
Using cached soupsieve-2.5-py3-none-any.whl (36 kB)
Using cached altgraph-0.17.4-py2.py3-none-any.whl (21 kB)
Building wheels for collected packages: pyinstaller
  Building wheel for pyinstaller (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pyinstaller (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [4 lines of output]
      running bdist_wheel
      running build
      running build_bootloader
      error: [Errno 2] No such file or directory: 'ldd'
      [end of output]

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

I'm trying to use a tool, but when trying to install the requirements I get this error, here is the tool I'm trying to use: https://github.com/AstraaDev/Discord-All-Tools-In-One

twaik commented 7 months ago

We do not help with hacking and hacking related tools. https://wiki.termux.com/wiki/Hacking