I use virtualenvwrapper
http://www.doughellmann.com/docs/virtualenvwrapper/ which
seems to work like a charm.

export WORKON_HOME=$HOME/.virtualenvs
source /usr/bin/virtualenvwrapper.sh # put those 2 lines in your
$HOME/.bashrc
mkvirtualenv web2py

>From here, you just have to type :
workon web2py

berfore launching web2py.

It is not a web2py solution, but it may help in the meanwhile.

-Mathieu



On Mon, Apr 19, 2010 at 13:15, szimszon <[email protected]> wrote:

> Is there now a quick way to start web2py without removing simplejson
> from debian?
>
> Tnx.
>
> On ápr. 11, 16:23, mdipierro <[email protected]> wrote:
> > What's your advice about this?
> >
> > Out r version of simplejson is patched to serialize dates. We could
> > upgrade to the latest and re-patch and for now this problem will go
> > away but this is not a long term solution. Clearly we must change
> > something in the way simplejson is imported to avoid conflict.
> >
> > Massimo
> >
> > On Apr 11, 4:30 am, muybay <[email protected]> wrote:
> >
> >
> >
> > > I have the issue also. I am going to try this suggestion and possibly
> > > diff the two versions (upgraded vs web2py simplejson).
> >
> > > On Apr 8, 8:00 am, mdipierro <[email protected]> wrote:
> >
> > > > One solution is to upgrade thesimplejsonthat comes with web2py. The
> > > > problem is that the one we use has been modified to handle dates.
> >
> > > > On Apr 8, 4:27 am, Johann Spies <[email protected]> wrote:
> >
> > > > > Removing Debian's python-simplejsonhelped me to start web2py again
> -
> > > > > and broke some other stuff on Debian.
> >
> > > > > Regards
> > > > > Johann
> > > > > --
> > > > >        "Every good gift and every perfect gift is from above,
> > > > >       and cometh down from the Father of lights, with whom
> > > > >       is no variableness, neither shadow of turning."
> > > > >                              James 1:17
>
>
> --
> Subscription settings:
> http://groups.google.com/group/web2py/subscribe?hl=en
>

Reply via email to