termux-app icon indicating copy to clipboard operation
termux-app copied to clipboard

[Bug]: pip install psutil doesn't work

Open u400822 opened this issue 4 months ago • 12 comments

Problem description

Image

Steps to reproduce the behavior.

i can't install psutil

What is the expected behavior?

No response

System information

  • Termux application version: 0.119.0-beta.3 (1022)
  • Android OS version: 20
  • Device model: UG Phone

u400822 avatar Aug 04 '25 16:08 u400822

Use global pip install, or switch to Termux v0.118.3 may works

Mooling0602 avatar Aug 05 '25 04:08 Mooling0602

Use global pip install, or switch to Termux v0.118.3 may works

Termux v0.118.3 still have same problem

u400822 avatar Aug 05 '25 07:08 u400822

do you have build-essential installed? or at least llvm? i can't reproduce your issue on my devices

xu3s avatar Aug 05 '25 07:08 xu3s

do you have build-essential installed? or at least llvm? i can't reproduce your issue on my devices

I already installed build-essential and llvm

u400822 avatar Aug 05 '25 08:08 u400822

can you share your termux-info output? maybe someone could give you an explanation

xu3s avatar Aug 05 '25 08:08 xu3s

can you share your termux-info output? maybe someone could give you an explanation

Image

u400822 avatar Aug 05 '25 08:08 u400822

Use global pip install, or switch to Termux v0.118.3 may works

Termux v0.118.3 still have same problem

Your screenshot shows the Termux version you're using is still 0.119.x? And have you tried to execute pip install psutil directly?

Mooling0602 avatar Aug 05 '25 10:08 Mooling0602

Use global pip install, or switch to Termux v0.118.3 may works

Termux v0.118.3 still have same problem

Your screenshot shows the Termux version you're using is still 0.119.x? And have you tried to execute pip install psutil directly?

I used pip install psutil

u400822 avatar Aug 05 '25 12:08 u400822

Install clang-16 from tur-repo

pkg install clang-16

Set environment variable before pip install

export CC=clang-16 pip install aiohttp

0000p0 avatar Aug 06 '25 09:08 0000p0

export CC=clang-16

fixed, thank sir

u400822 avatar Aug 06 '25 23:08 u400822

Install clang-16 from tur-repo

pkg install clang-16

Set environment variable before pip install

export CC=clang-16 pip install aiohttp

Seems not work in uv

Mooling0602 avatar Aug 07 '25 13:08 Mooling0602

Install clang-16 from tur-repo

pkg install clang-16

Set environment variable before pip install

export CC=clang-16 pip install aiohttp

Seems not work in uv

It should to

0000p0 avatar Aug 19 '25 07:08 0000p0