关于captcha使用The _imagingft C module is not installed的错误处理
1 毕业设计用django做个验证码登录,发现出现这个问题,图片都刷新不出来
2 网上很多地方查询无果,判断下来,肯定是虚拟环境下某个文件的缺失,所以去了PIL文件夹比对,后来居然非虚拟环境下可以,比对后,发现是丢失了_imagingft.cpython-34m.so文件,把它移到我的虚拟环境的相应目录
cp /usr/lib64/python3.4/site-packages/PIL/_imagingft.cpython-34m.so /home/liuliancao/python/liuliancao/lib64/python3.4/site-packages/PIL/
最终问题解决,记录下。
转载于:https://blog.51cto.com/qixue/1789533
关于captcha使用The _imagingft C module is not installed的错误处理相关推荐
- Python图片处理PIL/pillow/生成验证码/出现KeyError: 和The _imagingft C module is not installed...
近期在用Python开发自己的博客.须要用到Python生成验证码,当然肯定要用到Python的图形处理库PIL,由于我用的是windows. 所以在安装好pil之后就開始写,就依照题目所说出现了Th ...
- Python: The _imagingft C module is not installed错误的解决
Python: The _imagingft C module is not installed错误的解决 By 白熊花田(http://blog.csdn.net/whiterbear) 转载需注明 ...
- The _imagingft C module is not installed
问题 在调用Pillow 时出现了 The _imagingft C module is not installed 这个问题 下面将一下解决过程 参考了几篇博客解决了问题 [ ...
- Python 的PIL,可以解决ImportError The _imagingft C module is not installed
删除PIL相关文件 mv PIL /tmp pip install Pillow 安装Pillow后, 可能还会发生KeyError的错误, 检查项目源码后发现是 Image 模块的save函数中 , ...
- python报错“ImportError: The _imagingft C module is not installed”
windows系统 卸载pillow,重新安装 pip uninstall pillow pip3 install pillow 加上 --no-cache-dir参数: pip3 install p ...
- idea开发vue项目时,使用@引入组件警告:Module is not installed
由于在Vue-cli3.x中没有了build文件夹,而编译器又找不到webpack.config.js文件,所以就出现了Module is not installed这个错误. 解决办法:依次打开fi ...
- Xamarin.Android模拟器提示HAX kernel module is not Installed
Xamarin.Android模拟器提示HAX kernel module is not Installed 错误信息: emulator : ERROR : x86 emulation curren ...
- 解决ModuleNotFoundError: No module named ‘numpy.core._multiarray_umath‘ 错误
解决ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 错误 文章目录: 一.错误原因分析 二.解决方式 调试了好久 ...
- Python PIL : import _imaging _imagingft : No module named _imaging _imagingft(转)
今天在部署一Python应用时,安装了PIL,却无法导致_imaging ._imagingft库. 这是由于PIL中使用到的一些库未安装,解决方法如下: # import _imaging : No ...
最新文章
- Roadsend PHP-开源的PHP代码编译器
- Ubuntu被曝严重漏洞:切换系统语言+输入几行命令,就能获取root权限
- tensorflow和keras的版本问题
- 格莱泽检验matlab,计量经济学实验指导书
- 一篇文章助你了解机器学习
- 阿帕奇跨域_阿帕奇光束
- install-info - 更新 info/dir 项
- 在Hekaton里,正确选择哈希存储桶数
- calc BZOJ 2655
- python常用代码大全-Python常用库大全及简要说明
- java契约_基于契约式设计的Java编译器实现
- WCF Error: 客户端配置部分中,找不到引用协定{0}的默认终结点元素……
- 关于键盘事件对象code值
- 业务系统--业务架构转化成为IT应用的中间桥梁
- ANSYS入门例程笔记
- 51nod 巧克力 1429
- Python读取相对路径文件
- better-scroll 在vue中使用on监听事件,事件无效问题解决
- 一周热图|王珞丹创立宠物用品品牌;超模何穗亮相雀巢冷萃自由大秀;乐高试点有声与盲文拼搭指南...
- 推荐3个生活工具类的小程序,非常实用哦!