安装python模块常见错误及解决方式

安装python模块常见错误 matplotlib报错_tkinter.TclError: no display name and no $DISPLAY environment variable

#交互式测试,此时报错 解决办法,在引用后添加下面这一行

例如:

报错: c/_cffi_backend.c:15:10: fatal error: ffi.h: 没有那个文件或目录 #include <ffi.h> ^~~~~~~ compilation terminated. error: command ‘gcc’ failed with exit status 1 解决:

报错:build/temp.linux-x86_64-3.4/_openssl.c:423:30: fatal error: openssl/opensslv.h: No such file or directory

安装MySQL-python时报错ModuleNotFoundError: No module Read more…