On Sep 11, 2011, at 6:53 AM, Anthony wrote:

> I don't know how it works on the Mac, but on Windows, you start the binary 
> version at the command line by entering 'web2py.exe' (can also pass command 
> line options). Maybe it's the same on Mac -- i.e., just enter 'web2py.app'?

In OS X use the command 'open' to launch an app. man open for details.

> 
> On Sunday, September 11, 2011 6:32:46 AM UTC-4, Christian wrote:
> No one any idea? 
> 
> On 9 Sep., 16:04, Christian <[email protected]> wrote: 
> > Hello, 
> > 
> > I'd like to use the python interpreter bundled with the web2py.app (on 
> > mac) to have a "clean environment" on every host. When trying to start 
> > from commandline with 
> > web2py.app/Contents/MacOS/python web2py.app/Contents/Resources/ 
> > web2py.py 
> > 
> > I get a 
> > Could not find platform independent libraries <prefix> 
> > Could not find platform dependent libraries <exec_prefix> 
> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] 
> > 'import site' failed; use -v for traceback 
> > Traceback (most recent call last): 
> >   File "web2py.app/Contents/Resources/web2py.py", line 4, in <module> 
> >     import os 
> > ImportError: No module named os 
> > 
> > Any ideas, how to do this? 
> > 
> > Regards, 
> > Christian


Reply via email to