Mmmmh, my bad you have to create the environment without the site packages
:

mkvirtualenv --no-site-packages web2py

(It probably worked on my side because I've reinstalled python-simplejson,
after creating the environment ...)

Hope this helps...
-Mathieu

On Mon, Apr 19, 2010 at 13:58, szimszon <szims...@gmail.com> wrote:

> I got the some traceback as before :(
>
> >>> sys.path
> ['', '/home/szimszon/.virtualenvs/web2py/lib/python2.5/site-packages/
> setuptools-0.6c11-py2.5.egg', '/usr/lib/pymodules/python2.5', '/home/
> szimszon/.virtualenvs/web2py/lib/python2.5', '/home/
> szimszon/.virtualenvs/web2py/lib/python2.5/plat-linux2', '/home/
> szimszon/.virtualenvs/web2py/lib/python2.5/lib-tk', '/home/
> szimszon/.virtualenvs/web2py/lib/python2.5/lib-dynload', '/usr/lib/
> python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-
> tk', '/home/szimszon/.virtualenvs/web2py/lib/python2.5/site-packages',
> '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-
> packages', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/
> site-packages/gst-0.10', '/usr/lib/pymodules/python2.5/gtk-2.0', '/usr/
> lib/python2.5/site-packages/wx-2.6-gtk2-unicode']
>
>
> On ápr. 19, 13:30, Mathieu Clabaut <mathieu.clab...@gmail.com> wrote:
> > I use virtualenvwrapperhttp://
> 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 <szims...@gmail.com> wrote:
> > > Is there now a quick way to start web2py without removing simplejson
> > > from debian?
> >
> > > Tnx.
> >
> > > On ápr. 11, 16:23, mdipierro <mdipie...@cs.depaul.edu> 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 <yabyum...@gmail.com> 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 <mdipie...@cs.depaul.edu> 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 <johann.sp...@gmail.com> 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