Termux安装Pandas报错:
ERROR: Could not build wheels for pandas which use PEP 517 and cannot be installed directly
解决方法:
参考:https://wiki.termux.com/wiki/Pythonwiki.termux.com
安装build-essential:
pkg install build-essential
再执行:
export CFLAGS="-Wno-deprecated-declarations -Wno-unreachable-code"
pip install pandas
即可成功安装。
果然,还是官方文档靠谱。困扰了几天的问题就此解决!其他Python库的安装也可参考上面的官方文档!
最后,又把Jupyter装了回来,安装方法参考:
https://zhuanlan.zhihu.com/p/94203587zhuanlan.zhihu.com