下載安裝termux應用。
應用鏈接如下:https://download.csdn.net/upload/11342944
設置-應用-termux賦予存儲權限
cd
mkdir .termux
vim .termux/termux.properties
extra-keys = [['ESC','/','-','HOME','UP','END','PGUP'], ['TAB','CTRL','ALT','LEFT',' DOWN','RIGHT','PGDN']]
安裝python和常用軟件
apt install python curl git
安裝 python 第三方庫安裝 requests 和 beautufulsoup4
apt install cmake
安裝numpy, pandas和matplotlibjupyter
apt install python python-dev clang fftw libzmq libzmq-dev freetype freetype-dev libpng11bpng-dev pkg-config
LDFLAGS=" -lm -lcompiler_rt" pip install numpy matplotlib pandas jupyter
jupyter notebook --generate-config
cd
vim .jupyter/jupyter_notebook_config.py
c.NotebookApp.notebook_dir
安裝serapy
apt install python python-dev clang libffi libffi-dev openssl openssl-dev libxml2 libxml2-dev libxslt libxslt-dev
pip install scrapy
安裝lxml
apt-get install libxml2 libxml2-dev libxslt libxslt-dev
pip install lxml
獲取its-pointless編譯好的第三方庫支持
curl -L https://its-pointless.github.io/setup-pointless-repo.sh | sh
安裝scipy
pkg install scipy
或者
apt install scopy
安裝jupyter插件
pip install jupyter_contrib_nbextensions
啟動插件
jupyter nbextensions_configurator enable --user
jupyter contrib nbextension install --user