Linux

🐧Linux and 🐍Python on your Android Phone-termux install python3 – pandas – numpy – pillow – venv



⭕️Please let me know if this video was helpful by leaving a comment⭕️

______________
apt update

apt upgrade

___install tree____
pkg install tree

____create directory____
mkdir dir_name

_____install python____
pkg install python3

___create a Python virtual environment __
python -m venv [env_name]

source env_name/bin/activate

_____install these two first_____

pip install wheel

pkg install libjpeg-turbo

_____install pillow_____

LDFLAGS=”-L/system/lib64/” CFLAGS=”-I/data/data/com.termux/files/usr/include/” pip install Pillow

_____install numpy_____
MATHLIB=”m” pip install numpy

____create file___
touch main.py

___edite file____
nano main.py
______install pandas_____

Import PIL
import pandas as pd
Import numpy as np

print(“rebwar_ai”)
a=np.array([1,2,3])
print(a)

___run file___
python3 main.py

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button