在Termux上,使用python3.10.2安装matplotlib时出现了一系列爆红,头疼
找了很多都没有找到可以解决的方法,后来换个思路寻找别人如何安装的,得到解决
方法来源
链接: Termux安装Python及相关库.
是版本问题
#使用该命令解决问题
pip install matplotlib==3.2.0
相关主要爆红
BUILDING MATPLOTLIB python: yes [3.10.2 (main, Jan 16 2022, 02:57:51) [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7]
platform: yes [linux]
tests: no [skipping due to configuration] macosx: no [Mac OS-X only]
tests: no [skipping due to configuration] macosx: no [Mac OS-X only]
…
ERROR: Failed building wheel for matplotlib Running setup.py clean for matplotlib
If this does not correspond to your system or settings please remove the file
config.mk' from this directory then read the INSTALL file for help. Otherwise, simply type
make’ again to build the library, or `make refdoc’ to build the API reference (this needs python >= 2.6).
…