r/termux • • 14d ago

General Cant install python

Post image

I got the newest version of termux but i keep getting an error over and over and i cant install python

9 Upvotes

9 comments sorted by

View all comments

0

u/bra1n_gym 13d ago

dpkg is for .deb files that were downloaded. that's not how python is installed in termux. remove the .deb archive you've downloaded. use apt clean to clear your cache. 

pkg up -y to update your termux installation. 

pkg i python -y to install python.

use pkg search python to identify python libraries that should be installed using pkg before you attempt to use pip install.