由于我就只会玩Python(惭愧了), 所以就。。。。。
apt install tmux tsu wget git zip neofetch clang make cmake curl
注意这里默认是python3
apt install python python-dev python2 python2-dev
编辑~/.pip/pip.conf
,没有就自己创建一个
更改内容:
[global]
index-url = https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
format = columns
安装之前,还是先升级以下pip吧:
pip install --upgrade pip
pip install BeautifulSoup4 requests
为避免lxml安装失败,先安装一堆我也不知道有没有用的东西
apt install libxml2 libxml2-dev libxslt libxslt-dev libcrypt libcrypt-dev openssl openssl-dev libffi libffi-dev
然后再安装模块,就差不多了,一般是可以安装的(除非你运气差)
pip install lxml
这里安装有点慢,请耐心等待
pip install scrapy
又要安装一堆我不懂的东西了
apt install clang python python-dev fftw libzmq libzmq-dev freetype freetype-dev libpng libpng-dev pkg-config
直接下载并执行别人搞定的脚本
curl -L https://its-pointless.github.io/setup-pointless-repo.sh | sh
然后执行下一个命令即可,那个男人说,会自动安装你要的模块的
pkg install scipy
一般是能安装的,要是不能,我也没办法,我是小白,我写给我自己看的
= =这个东西嘛,
我mtk x20 + 3g RAM,安装起来有点慢
我高通410 + 2g RAM,直接就卡住了,我相信它会安装完成的,只是时间问题而已
LDFLAGS=" -lm -lcompiler_rt" pip install matplotlib pandas jupyter
https://www.freebuf.com/geek/170510.html
https://www.zhihu.com/question/63482921/answer/209835936
https://www.jianshu.com/p/4deba3fad266
https://lug.ustc.edu.cn/wiki/mirrors/help/pypi
https://github.com/myfreess/Mytermuxdoc