Hello, I have started to use WSGI migrating from mod-python, using Python 2.6.1 First example using basic WSGI Hello World! application function, works well. But when I have tried to do the same with Django, I have the following messages in Apache error.log usign Windows Vista :
[Sun Jun 28 19:25:40 2009] [info] [client 192.168.0.4] mod_wsgi (pid=19668, process='', application='vista2|'): Loading WSGI script 'C:/Usr/www/sisprog/apache/django.wsgi'. [Sun Jun 28 19:25:40 2009] [error] [client 192.168.0.4] mod_wsgi (pid=19668): Target WSGI script 'C:/Usr/www/sisprog/apache/ django.wsgi' cannot be loaded as Python module. [Sun Jun 28 19:25:40 2009] [error] [client 192.168.0.4] mod_wsgi (pid=19668): Exception occurred processing WSGI script 'C:/Usr/www/ sisprog/apache/django.wsgi'. [Sun Jun 28 19:25:40 2009] [error] [client 192.168.0.4] Traceback (most recent call last): [Sun Jun 28 19:25:40 2009] [error] [client 192.168.0.4] File "C:/ Usr/ www/sisprog/apache/django.wsgi", line 9, in <module> [Sun Jun 28 19:25:40 2009] [error] [client 192.168.0.4] import django.core.handlers.wsgi [Sun Jun 28 19:25:40 2009] [error] [client 192.168.0.4] File "C:\ \Desarrollo\\Python26\\lib\\site-packages\\django\\core\\handlers\ \wsgi.py", line 8, in <module> [Sun Jun 28 19:25:40 2009] [error] [client 192.168.0.4] from django import http [Sun Jun 28 19:25:40 2009] [error] [client 192.168.0.4] File "C:\ \Desarrollo\\Python26\\lib\\site-packages\\django\\http\\__init__.py", line 5, in <module> [Sun Jun 28 19:25:40 2009] [error] [client 192.168.0.4] from urllib import urlencode [Sun Jun 28 19:25:40 2009] [error] [client 192.168.0.4] File "C:\ \Desarrollo\\Python26\\lib\\urllib.py", line 26, in <module> [Sun Jun 28 19:25:40 2009] [error] [client 192.168.0.4] import socket [Sun Jun 28 19:25:40 2009] [error] [client 192.168.0.4] File "C:\ \Desarrollo\\Python26\\lib\\socket.py", line 46, in <module> [Sun Jun 28 19:25:40 2009] [error] [client 192.168.0.4] import _socket [Sun Jun 28 19:25:40 2009] [error] [client 192.168.0.4] ImportError: DLL load failed: No se puede encontrar el m\xf3dulo especificado. Could you help me, on why import _socket cannot be loaded, please. Regards Joaquin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---