Termux-pod / termux-pod

Containing debfiles
112 stars 27 forks source link

Not able to use pip after installing using below code #17

Open Krishna-Singhal opened 2 years ago

Krishna-Singhal commented 2 years ago
wget 'https://github.com/Termux-pod/termux-pod/blob/main/aarch64/python/python-3.9.7/python_3.9.7_aarch64.deb?raw=true' -O py.deb

dpkg -i py.deb

Tried above snippet and pip is not working.

Screenshot_2022-03-07-19-18-29-197_com termux

Originally posted by @kcubeterm in https://github.com/Termux-pod/termux-pod/issues/15#issuecomment-1035277385

kcubeterm commented 2 years ago

Need to recompile with openssl 3.

Krishna-Singhal commented 2 years ago

Need to recompile with openssl 3.

can you update please,

tomyprs commented 2 years ago

🥉

Matshec commented 2 years ago

I have the same issue, any update? Please.

yeyuchen198 commented 2 years ago

I have the same issue,after drop the Python3.10 back to 3.9.7, the pip is not work anymore.

yeyuchen198 commented 2 years ago

Need to recompile with openssl 3.

https://github.com/termux/termux-packages/issues/9050

dev12-bot commented 2 years ago

i managed to use pip by doing the following: $ rm -rf $PREFIX (from https://github.com/termux/termux-packages/issues/9050) $ exit $ apt-mark hold openssl $ apt install gdbm libffi libsqlite ncurses-ui-libs

$ dpkg -i path/of/debfile.deb (from https://github.com/Termux-pod/termux-pod)

Saikatsaha1996 commented 2 years ago

Same problem not solved Screenshot_2022-06-03-22-09-21-963_com termux

Baribor commented 2 years ago

This comment works for me.

Saikatsaha1996 commented 2 years ago

This comment works for me.

Tried but not working

Baribor commented 2 years ago

This comment works for me.

Tried but not working

Well, it worked but stopped working

Jhevison commented 1 year ago

rm -rf $PREFIX exit apt-mark hold openssl termux-change-repo (change it to grimler) apt install gdbm libffi libsqlite ncurses-ui-libs dpkg -i py.deb pip install flask It solved my problem, but DO NOT update/install openssl or it'll break again.

Alireza1379dev commented 1 year ago

rm -rf $PREFIX exit apt-mark hold openssl termux-change-repo (change it to grimler) apt install gdbm libffi libsqlite ncurses-ui-libs dpkg -i py.deb pip install flask It solved my problem, but DO NOT update/install openssl or it'll break again.

i'am so thanks❤️

nacho00112 commented 1 year ago

rm -rf $PREFIX exit apt-mark hold openssl termux-change-repo (change it to grimler) apt install gdbm libffi libsqlite ncurses-ui-libs dpkg -i py.deb pip install flask It solved my problem, but DO NOT update/install openssl or it'll break again.

Works but now i can't use wget, there is a way to solve the issue without that wget stop working?

Jhevison commented 1 year ago

rm -rf $PREFIX exit apt-mark hold openssl termux-change-repo (change it to grimler) apt install gdbm libffi libsqlite ncurses-ui-libs dpkg -i py.deb pip install flask It solved my problem, but DO NOT update/install openssl or it'll break again.

Works but now i can't use wget, there is a way to solve the issue without that wget stop working?

I have a better solution to this problem:

pkg install tur-repo pkg update pkg install python3.9

(After install this version of Python, to use it, just type "python3.9 example.py").

and then to use pip, just type: python3.9 -m pip For example: python3.9 -m pip install flask

You will be able to use wget and without having problems with openssl and will also be using a newer version of python.