On Mon, Jul 21, 2008 at 8:29 AM, Lawrence Oluyede <[EMAIL PROTECTED]> wrote:
>
> On Mon, Jul 21, 2008 at 4:33 PM, Beginner <[EMAIL PROTECTED]> wrote:
>>
>>  hello,
>>
>> I'm learning Pylons and i'm following the steps giving in the Part 1
>> Chapter 8 of the pylons book tutorial(http://pylonsbook.com/alpha1/
>> simplesite_tutorial)   to do this simpleSite, but i am getting the
>> following error in my command...I'm unsing virtualenv because i'm
>> working on a computer where i have no admin rights. I've installed
>> mySQL Alchemy on python 2.5
>>  I'm getting the following error: can someone help?
>
> You need a new version of simplejson I guess.
>
> Just type $ easy_install -U simplejson
>
> I think eas_install in Windows resides in X:Python\Scripts

Yes.  The remaining question though is why did he have the older
version installed?  It sounds like there's a version mismatch
somewhere between what's auto-installed and what's required.  (And I
really wish the exception would tell you who's requiring the version.
Clearly Setuptools does not depend on simplejson, nor PasteScript.
PasteScript is merely loading a requirement that was specified
elsewhere, but where?

It may be because he has the older version installed in his global
site-packages for some reason.  But still, installing Pylons should
have installed the newer version if it's in fact necessary.  But
there's sometimes a problem with versions in the global site-packages
being activated before the other version is required, thus preventing
the other version from being activated (or at least you get a warning
from Setuptools).  Those are issue that Pylons/virtualenv may not be
able to solve because they don't have total control of the system.
(In which case you may have to use ``--no-site-packages``.)

The other issue is, there was a problem installing simplejson 1.8 on
Windows, and Python briefly depended on the later version and then
went back to the earlier.  Maybe now it's depending on the later
version again, and that might cause various problems on Windows.

-- 
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to