I gave it a try. Almost, but no cigar:

ERROR:root:missing ldap, try "easy_install python-ldap"
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2011
Version 1.97.1 (2011-06-26 19:25:44)
Database drivers available: SQLite3, pymysql
Starting hardcron...


Then I ran into trouble with easy_install not working:
>python "c:\Program Files (x86)\Python27\lib\site-packages\easy_install.py" 
>python-ldap
Searching for python-ldap
Reading http://pypi.python.org/simple/python-ldap/
Reading http://www.python-ldap.org/
Best match: python-ldap 2.4.1
Downloading http://pypi.python.org/packages/source/p/python-ldap/python-ldap-2.4
.1.tar.gz#md5=be20381013b28679b57a0285e053f8ef
Processing python-ldap-2.4.1.tar.gz
Running python-ldap-2.4.1\setup.py -q bdist_egg --dist-dir c:\users
\weheh\appdat
a\local\temp\easy_install-hvyccy\python-ldap-2.4.1\egg-dist-tmp-ovjtnf
extra_compile_args: -g
extra_objects:
include_dirs: /opt/openldap-RE24/include /usr/include/sasl
library_dirs: /opt/openldap-RE24/lib
libs: ldap_r lber sasl2 ssl crypto
file Lib\ldap.py (for module ldap) not found
file Lib\ldap\controls.py (for module ldap.controls) not found
file Lib\ldap\extop.py (for module ldap.extop) not found
file Lib\ldap\schema.py (for module ldap.schema) not found
warning: no files found matching 'Makefile'
warning: no files found matching 'Modules\LICENSE'
file Lib\ldap.py (for module ldap) not found
file Lib\ldap\controls.py (for module ldap.controls) not found
file Lib\ldap\extop.py (for module ldap.extop) not found
file Lib\ldap\schema.py (for module ldap.schema) not found
file Lib\ldap.py (for module ldap) not found
file Lib\ldap\controls.py (for module ldap.controls) not found
file Lib\ldap\extop.py (for module ldap.extop) not found
file Lib\ldap\schema.py (for module ldap.schema) not found
error: Setup script exited with error: Python was built with Visual
Studio 2003;

extensions must be built with a compiler than can generate compatible
binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin
installed,
you can try compiling with MingW32, by passing "-c mingw32" to
setup.py.


I think that's the end of the line for me unless someone has a better
idea. I'm going to try to backtrack to python 2.5.4.


On Jul 9, 3:23 pm, weheh <[email protected]> wrote:
> Sounds reasonable. I'll give it a try.
>
> On Jul 9, 3:20 pm, cjrh <[email protected]> wrote:
>
>
>
>
>
>
>
> > I am guessing you are using the binary version of web2py for windows, but
> > you should use the source distribution if you want to execute the web2py
> > file directly?

Reply via email to