Make sure you have the right version for your 64-bit python! There is 
64-bit win32 (yes, I know it sounds idiotic).

On Wednesday, October 9, 2013 7:27:26 PM UTC-7, jarrodwilcox wrote:
>
> Massimo, Derek
>  
> Thanks for replies!
>  
> This is a new installation of latest web2py version.  I have had the 
> earlier web2py versions working from sourcecode for some time.  However, 
> win32 was installed from Mark Hammond's site for another project since I 
> last used web2py. Both pywin and win32 can be imported in python at this 
> point.
>  
> Jarrod
>  
>  
>  
>
> On Wednesday, October 9, 2013 6:20:10 PM UTC-4, jarrodwilcox wrote:
>
>> I just downloaded sourcecode today 10/09/2013. Running on Windows 7 with 
>> 64 bit python, I get following error message.
>>  
>> Does anyone else have this issue?  Any suggestions for where to get 
>> started?
>>  
>> Jarrod 
>>  
>>  
>> Python 2.7.3 |EPD_free 7.1-2 (32-bit)| (default, Aug  8 2013, 05:30:12) 
>> [MSC v.1
>> 500 64 bit (AMD64)] on win32
>> Type "packages", "demo", "upgrade" or "enthought" for more information.
>> >>> quit()
>>  
>> C:\web2py_source5\web2py>python web2py.py
>> No handlers could be found for logger "web2py"
>> Traceback (most recent call last):
>>   File "web2py.py", line 18, in <module>
>>     import gluon.widget
>>   File "C:\web2py_source5\web2py\gluon\__init__.py", line 15, in <module>
>>     from globals import current
>>   File "C:\web2py_source5\web2py\gluon\globals.py", line 18, in <module>
>>     from gluon.streamer import streamer, stream_file_or_304_or_206, 
>> DEFAULT_CHUN
>> K_SIZE
>>   File "C:\web2py_source5\web2py\gluon\streamer.py", line 15, in <module>
>>     import rewrite
>>   File "C:\web2py_source5\web2py\gluon\rewrite.py", line 24, in <module>
>>     import urllib
>>   File "C:\Python27\Lib\urllib.py", line 26, in <module>
>>     import socket
>>   File "C:\Python27\Lib\socket.py", line 47, in <module>
>>     import _socket
>> ImportError: DLL load failed: %1 is not a valid Win32 application.
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to