Hi, Just found that, I've always run web2py from exe-file so far, so didn't realize that before...
torstai 14. huhtikuuta 2016 19.56.34 UTC+3 Niphlod kirjoitti: > > first of all, web2py is not python 3 compatible. > > On Thursday, April 14, 2016 at 6:02:20 PM UTC+2, Marko Seppälä wrote: >> >> Hi, >> >> I'm trying to import openpyxl to web2py without success. What is the >> right way to do it? >> >> I have working openpyxl in my Windows environment and I'm able to use it >> without problems when testing it without web2py. If I understood right, I >> can either install openpyxl to web2py site packages and run web2py.exe, or >> I can run web2py from source and then it should be able to use already >> installed openpyxl. Neither of these methods is working. I followed the >> instructions in the book and installed pywin32 before running from source, >> but it won't help. When I run "python web2py.py", it says: >> no file locking, you must install the win32 extensions from: >> http://sourceforge. >> net/projects/pywin32/files/ >> >> So looks like there is something wrong with the pywin32 installation, >> even though I've installed it for sure. Any ideas what could be wrong? And >> why I cant import openpyxl even though I installed it to web2py's >> site-packages folder? >> >> I'm using Python 3.3.3 and Windows-64bit. >> >> Thanks, >> - Marko >> > -- 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/d/optout.

