Termux-packages: Python: pip can't install anything now

Created on 9 Nov 2017  路  6Comments  路  Source: termux/termux-packages

Hello, when I first installed python so I could use Octave also installed without problem sympy trough pip. Now every time I try to install anything trough pop I got:

Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/pip", line 7, in <module> from pip import main
File "/data/data/com.termux/files/usr/lib/python3.6/site-packages/pip/__init__.py", line 28, in <module> from pip.vcs import git, mercurial, subversion, bazaar  # noqa
File "/data/data/com.termux/files/usr/lib/python3.6/site-packages/pip/vcs/mercurial.py", line 9, in <module> from pip.download import path_to_url
File "/data/data/com.termux/files/usr/lib/python3.6/site-packages/pip/download.py", line 47, in <module> from pip._vendor.cachecontrol import CacheControlAdapter
ModuleNotFoundError: No module named 'pip._vendor.cachecontrol'
help wanted python

Most helpful comment

According to this stackexchange question&answer, it might be because openssl isn't installed. So try

pkg install openssl
apt install python --reinstall

All 6 comments

Have you tried reinstalling python?

yes, i also did a fresh install o termux. And after a while i got the same error again. Nevertheless, i can install using easy_install

According to this stackexchange question&answer, it might be because openssl isn't installed. So try

pkg install openssl
apt install python --reinstall

@kurokirasama More information about your topic is requested. Post more information regarding your machine. Use termux-info and share this output with us.

Closing issue as outdated since there no activity from 30 Nov 2017 and python was updated to v3.7.

How To fix problem No module Found lib

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Cyb3rD3m0n picture Cyb3rD3m0n  路  3Comments

am11 picture am11  路  3Comments

neitsab picture neitsab  路  3Comments

newmania picture newmania  路  3Comments

tigran123 picture tigran123  路  3Comments