代码运行问题ImportError: DLL load failed: 找不到指定的模块)[python]

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/zs_Sunshine/article/details/86517205

python3.6&win10

运行代码,出现的问题:

在这里插入图片描述

解决方案:

在anaconda prompt中安装对应版本tensorflow
注:安装过程可能存在一些小插曲,需要一步步查询修改。

展开阅读全文

Django+Apache+Mod_wsgi下ImportError: Dll load Failed

11-15

相同主機環境下, 直接使用python manage.py runserver并無出現任何異常.rn但是放到Apache_mod_wsgi就會彈出如下error.rn希望大家幫忙下~~rn[code=text][Fri Nov 14 11:57:53 2014] [error] [client 192.168.94.136] ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.rn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] mod_wsgi (pid=5160): Exception occurred processing WSGI script 'E:/Program Files (x86)/Apache Software Foundation/Apache-LAS-TEST/LAS/wsgi/HOST1.wsgi'.rn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] Traceback (most recent call last):rn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] File "E:\\Python27\\lib\\site-packages\\django\\core\\handlers\\wsgi.py", line 206, in __call__rn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] response = self.get_response(request)rn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] File "E:\\Python27\\lib\\site-packages\\django\\core\\handlers\\base.py", line 196, in get_responsern[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] response = self.handle_uncaught_exception(request, resolver, sys.exc_info())rn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] File "E:\\Python27\\lib\\site-packages\\django\\core\\handlers\\base.py", line 234, in handle_uncaught_exceptionrn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] if resolver.urlconf_module is None:rn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] File "E:\\Python27\\lib\\site-packages\\django\\core\\urlresolvers.py", line 341, in urlconf_modulern[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] self._urlconf_module = import_module(self.urlconf_name)rn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] File "E:\\Python27\\lib\\site-packages\\django\\utils\\importlib.py", line 40, in import_modulern[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] __import__(name)rn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] File "E:\\Program Files (x86)\\Apache Software Foundation\\Apache-LAS-TEST\\LAS\\EPTSI\\urls.py", line 10, in rn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] from eWService import views as eWServiceViewrn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] File "E:\\Program Files (x86)\\Apache Software Foundation\\Apache-LAS-TEST\\LAS\\eWService\\views.py", line 207, in rn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] from soaplib.core.service import rpc, DefinitionBase, soaprn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] File "E:\\Python27\\lib\\site-packages\\soaplib-2.0.0_beta2-py2.7.egg\\soaplib\\core\\__init__.py", line 3, in rn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] from _base import Applicationrn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] File "E:\\Python27\\lib\\site-packages\\soaplib-2.0.0_beta2-py2.7.egg\\soaplib\\core\\_base.py", line 29, in rn[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] from lxml import etreern[Fri Nov 14 11:57:54 2014] [error] [client 192.168.94.136] ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.[/code] 论坛

没有更多推荐了,返回首页