0x0 Background
Recent learning in Python
Want to use the phone nearly 24 hours to start the convenience of running some simple crawler
Originally all the environment has been configured .... When I wrote an article in Termux to configure Git, my hand was updated with the pkg under root .... And then...... Then you lose the permissions ....
To the official wiki and GitHub to see that may be because the problem of SELinux permissions solution is Su xia chown .... But I don't even have Su's authority to run Qaq and then load up on the violence. Just reconfigure the environment again.
0x1 Installation
install tsu // an alternative to the SU command solves the problem that the SU is not working properly due to an incorrect environment variable note Magisksu cannot use the install Python python-installinstall BS4 // A Web page parsing library Sleepy Essentials Qaq don't need to skip /// Next is to install the Lxml parsing library do not use this pit more than the other can skip the install clang Libxml2-dev libxslt-Install lxml
0x2 execution
Tsu // switch to root to get permissions python example.pyexit // exit root switch back to normal user Exit // End Session
Installing Python in Termux