Which one. I asked with 2 options. segunda-feira, 25 de Março de 2019 às 01:33:00 UTC, Massimo Di Pierro escreveu: > > Yes. Try delete it. > > On Sunday, 24 March 2019 11:39:31 UTC-7, João Matos wrote: >> >> I don't have or use Python 2, only Python 3. >> You want me to delete the __pycache__ dir from my web2py (where I compile >> the app) or from the client end (where I install the compiled app)? >> >> >> domingo, 24 de Março de 2019 às 18:35:19 UTC, Massimo Di Pierro escreveu: >>> >>> I recommend deleting __pycache__. It may be due switching between python >>> 2 and python 3. >>> >>> On Monday, 18 March 2019 13:42:53 UTC-7, João Matos wrote: >>>> >>>> After installing a compiled app, web2py returns an ImportError that >>>> can't find the module, but the .pyc file is in the modules\__pycache__ dir. >>>> >>>> The compiled app doesn't transport the module\general.py (which is >>>> correct) but it includes th __pycache__\*.pyc (which is also correct). >>>> The problem seems to be that web2py doesn't search for the .pyc file >>>> inside the __pycache__ or that it doesn't recognize the naming used. >>>> >>>> My module is called general.py and the .pyc file inside __pycache__ is >>>> called (automatically by Python) general.cpython-37.pyc. >>>> >>>> Windows 7 Pro x64 SP1+all updates >>>> web2py 2.18.4 >>>> Python 3.7.1 x86 >>>> Firefox 65.0.2 x64 >>>> >>>>
-- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.