The '_imaging' module for the PIL could not be imported: DLL load failed: The specified module could not be found

I uninstalled the PIL and installed the Pillow and the problem solved.PIL worked fine for me with the earlier versions of Django but not with Django 1.6

apache上跑Django项目中使用了PIL会报utf8的不能解析的错误

但是跟踪错误后发现

其中引入_imaging的时候报错了。然后去外网上搜原来Django 1.6不能使用PIL,需要卸载PIL,然后安装Pillow就不会报错了。

快速方法:pip uninstall PIL

     pip install Pillow

瞬间碉堡了,原来是django版本问题啊,我勒个去,我以为PIL只要安装对应的python版本就可以了,没想到还要匹配Django版本,靠!

折腾了我一天  - -!!!!!!!!!!!!!!!!!!!!!!!!!!!

The '_imaging' module for the PIL could not be imported: DLL load failed: The specified module could not be found

时间: 2024-08-01 16:18:30

The '_imaging' module for the PIL could not be imported: DLL load failed: The specified module could not be found的相关文章

from scipy import spatial 出现 from .qhull import * ImportError: DLL load failed: The specified module could not be found. 错误

错误描述: 本人机器window8.1 64位,python2.7. Traceback (most recent call last): File "C:/Users/Hamid/Documents/kodeyaro/kodefolani.py", line 41, in <module> from scipy.spatial import Delaunay File "C:\Python27\lib\site-packages\scipy\spatial\__

Python图片处理PIL/pillow/生成验证码/出现KeyError: 和The _imagingft C module is not installed

最近在用Python开发自己的博客,需要用到Python生成验证码,当然肯定要用到Python的图形处理库PIL,因为我用的是windows. 所以在安装好pil之后就开始写,就按照题目所说出现了The _imagingft C module is not installed 错误,找了很多建议,最后确定在windows下应该用pillpw.下载地址 点击打开链接 找到 Pillow?2.5.2.win32?py2.7.exe因为我用的是python2.7和win32系统,所以就应该下载这个,大

【AngularJs】---Error: [$injector:modulerr] Failed to instantiate module starter.services

[遇到问题解决问题,原谅我这个菜鸟] 加了services angular.module('starter', ['ionic', 'starter.controllers', 'starter.services']) 出现下面问题 [原因] index.html没有引入services.js ~~~~(>_<)~~~~

from lxml import etree 报错

python 3.6 通过pip install 方式在线安装lxml pip install lxml 1 Traceback (most recent call last): 2 File "D:\ZLwork\gstreamer\python\get.py", line 1, in <module> 3 from film import * 4 File "D:\ZLwork\gstreamer\python\film.py", line 2, i

青头小白之打包软件 pyinstaller 和 py2exe

最近在学习打包,拿两个有名的来打包 py2exe 不支持python3.5  (截止2016.12.1) 所以只好用pyinstaller pyinstaller默认安装在python/scripts ,打开命令窗口 输入pyinstaller 可以看到如何打包 默认打包 pyinstaller  path(路径+xxx.py)  方便调试 踩雷 : pyinsatller 安装成功,但是打不开 port_pywin32_system_module__ import _win32sysloade

python 安装scikit!!!

首先,吐槽一下,真的是折腾好几天,一会更新这个,一会更新那个,总是各种奇葩问题诸如此类: cannot import check-build pip有新版本,需要更新(黄字) 其中scipy出错最多,但是还是可安装的 找不到指定模块 no model XXX 诸如此类,各种更新就是不行 但是下边的这个文章真的是帮了大忙.........本身比较懒惰,不想全部卸载后在更新,所以一直各种问题,看了下边的文章,非常有用,当然有些人的可能真的只是scipy不兼容,那你更新一下就好了,要是还不行,你就全删

win10下通过Anaconda安装TensorFlow-GPU1.3版本,并配置pycharm运行Mnist手写识别程序

折腾了一天半终于装好了win10下的TensorFlow-GPU版,在这里做个记录. 准备安装包: visual studio 2015: Anaconda3-4.2.0-Windows-x86_64: pycharm-community: CUDA:cuda_8.0.61_win10:下载时选择 exe(local) CUDA补丁:cuda_8.0.61.2_windows: cuDNN:cudnn-8.0-windows10-x64-v6.0;如果你安装的TensorFlow版本和我一样1.

python安装包问题小结

这篇文章主要讲述Python如何安装Numpy.Scipy.Matlotlib.Scikit-learn等库的过程及遇到的问题解决方法.你可能遇到的问题包括:ImportError: No module named sklearn 未安装sklearn包ImportError: DLL load failed: 找不到指定的模块ImportError: DLL load failed: The specified module could not be foundMicrosoft Visual

python成功配置scikit-learn,含试错历程

需要的可直接转至成功安装流程 试错历程 本人最近刚看到scikit-learn库,觉得在python中调用用来做些测试之类的非常方便,就开始配置,由于之前装了python2.7,就打算在之前的版本中配置,从网上各个帖子上尝试方法,最后终于提示安装成功,但是在运行import sklearn的时候总是报错.于是就开启了苦逼的python菜鸟学站之路..... 关于各种修补的话,我参考的博文如下: 1.http://blog.csdn.net/weiyidemaomao/article/detail