When I install python v3.9.7 arm deb, the python does not work
ephemeral8997 opened this issue · comments
After python 3.9.7 arm installation, python only shows this:
$ python -V
WARNING: linker: python: unused DT entry: type 0x6ffffef5 arg 0x390
WARNING: linker: python: unused DT entry: type 0x1d arg 0xa9
WARNING: linker: python: unused DT entry: type 0x6ffffffe arg 0x42c
WARNING: linker: python: unused DT entry: type 0x6fffffff arg 0x1
WARNING: linker: libpython3.9.so.1.0: unused DT entry: type 0x6ffffef5 arg 0x11490
WARNING: linker: libpython3.9.so.1.0: unused DT entry: type 0x1d arg 0x947d
WARNING: linker: libpython3.9.so.1.0: unused DT entry: type 0x6ffffffe arg 0x186d8
WARNING: linker: libpython3.9.so.1.0: unused DT entry: type 0x6fffffff arg 0x3
Any other commands will show the same output
It just a warning, Do it crashed program as well ?
BTW can't reproduce in arch64 device.
Binary is compiled for Android 7+, make sure you have compatible android version
It does nothing, it even says pip is not found:
$ pip
No command pip found, did you mean:
Command php in package php
Command ip in package termux-tools
Command zip in package zip
This is how I installed the python v3.9.7 deb file:
$ wget https://github.com/Termux-pod/termux-pod/blob/main/arm/python/python-3.9.7/python_3.9.7_arm.deb?raw=true
--2021-12-02 16:40:44-- https://github.com/Termux-pod/termux-pod/blob/main/arm/python/python-3.9.7/python_3.9.7_arm.deb?raw=true
Resolving github.com... 140.82.121.3
Connecting to github.com|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found Location: https://github.com/Termux-pod/termux-pod/raw/main/arm/python/python-3.9.7/python_3.9.7_arm.deb [following]
--2021-12-02 16:40:44-- https://github.com/Termux-pod/termux-pod/raw/main/arm/python/python-3.9.7/python_3.9.7_arm.deb
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/Termux-pod/termux-pod/main/arm/python/python-3.9.7/python_3.9.7_arm.deb [following]
--2021-12-02 16:40:45-- https://raw.githubusercontent.com/Termux-pod/termux-pod/main/arm/python/python-3.9.7/python_3.9.7_arm.deb
Resolving raw.githubusercontent.com... 185.199.110.133, 185.199.109.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8239800 (7.9M) [application/octet-stream]
Saving to: ‘python_3.9.7_arm.deb?raw=true’
python_3.9.7_arm.d 23%[==> ] 1.81M 465KB/s in 4.0s
2021-12-02 16:40:50 (467 KB/s) - Read error at byte 1903487/8239800 (error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac). Retrying.
--2021-12-02 16:40:51-- (try: 2) https://raw.githubusercontent.com/Termux-pod/termux-pod/main/arm/python/python-3.9.7/python_3.9.7_arm.deb
Connecting to raw.githubusercontent.com|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 8239800 (7.9M), 6336313 (6.0M) remaining [application/octet-stream]
Saving to: ‘python_3.9.7_arm.deb?raw=true’
python_3.9.7_arm.deb?raw 100%[+++++++==========================>] 7.86M 456KB/s in 13s
2021-12-02 16:41:05 (460 KB/s) - ‘python_3.9.7_arm.deb?raw=true’ saved [8239800/8239800]
$ dpkg -i 'python_3.9.7_arm.deb?raw=true'
Selecting previously unselected package python.
(Reading database ... 3809 files and directories currently installed.)
Preparing to unpack python_3.9.7_arm.deb?raw=true ...
Unpacking python (3.9.7) ...
Setting up python (3.9.7) ...
Setting up pip...
WARNING: linker: /data/data/com.termux/files/usr/bin/python3: unused DT entry: type 0x6ffffef5 arg 0x390
WARNING: linker: /data/data/com.termux/files/usr/bin/python3: unused DT entry: type 0x1d arg 0xa9
WARNING: linker: /data/data/com.termux/files/usr/bin/python3: unused DT entry: type 0x6ffffffe arg 0x42c
WARNING: linker: /data/data/com.termux/files/usr/bin/python3: unused DT entry: type 0x6fffffff arg 0x1
WARNING: linker: libpython3.9.so.1.0: unused DT entry: type 0x6ffffef5 arg 0x11490
WARNING: linker: libpython3.9.so.1.0: unused DT entry: type 0x1d arg 0x947d
WARNING: linker: libpython3.9.so.1.0: unused DT entry: type 0x6ffffffe arg 0x186d8
WARNING: linker: libpython3.9.so.1.0: unused DT entry: type 0x6fffffff arg 0x3
$ pip
No command pip found, did you mean:
Command php in package php
Command ip in package termux-tools
Command zip in package zip
$ python -m pip
WARNING: linker: python: unused DT entry: type 0x6ffffef5 arg 0x390
WARNING: linker: python: unused DT entry: type 0x1d arg 0xa9
WARNING: linker: python: unused DT entry: type 0x6ffffffe arg 0x42c
WARNING: linker: python: unused DT entry: type 0x6fffffff arg 0x1
WARNING: linker: libpython3.9.so.1.0: unused DT entry: type 0x6ffffef5 arg 0x11490
WARNING: linker: libpython3.9.so.1.0: unused DT entry: type 0x1d arg 0x947d
WARNING: linker: libpython3.9.so.1.0: unused DT entry: type 0x6ffffffe arg 0x186d8
WARNING: linker: libpython3.9.so.1.0: unused DT entry: type 0x6fffffff arg 0x3
$ pip install requests
No command pip found, did you mean:
Command php in package php
Command ip in package termux-tools
Command zip in package zip
It just a warning, Do it crashed program as well ? BTW can't reproduce in arch64 device.
Binary is compiled for Android 7+, make sure you have compatible android version
I have android 5, this is why I'm using this deb file to install it manually.
I have android 5, this is why I'm using this deb file to install it manually.
ah, binaries are compiled for android 7+