Trying to install TurboGears. Not used to using Terminal, and
completely new to Python (I'm kind of a retarded programmer...I jump
headfirst into new things, which sometimes—/RIGHT NOW/ FOR INSTANCE—
kicks me in the face, even if it's in a roundabout way by means of
Unix jibberjabber), so I don't quite understand what I'm supposed to
fix or how. Search & perusal of wiki doesn't turn up anything that is
blatantly relevant. It's this line—
No eggs found in /tmp/easy_install-s_Hq0s/
simplejson-2.0.4/egg-dist-tmp-LjhqW1 (setup script problem?)
error: Could not find required distribution
simplejson>=1.3
—that I don't know what to do about. What's up with it bein' all like
"Gimmee some sweet, sweet SimpleJson>=1.3" when the setup script is
all like
Searching for simplejson>=1.3
up in my grill and then /settled for SimpleJson 2.0.4/? (Make sure the
voice in your head that read that sentence twisted that last clause
with the indignation of a middle-aged housewife who's distraught over
the penultimate revelation in her favourite soap.) ...I guess I'm only
pointing that out because I'm not used to being coding-retarded and I
want to salvage whatever bit of pride I can by proving that I can see
where the problem identifies itself. Yeah, dumb, but—oblige me...and
my wounded—nay, /moribund/—pride. (Also. ...I really wanted to say
"What's up with it bein' all like <insert Terminal riffraff> when
<blahblahblaaah> is all like <insert more Terminal riffraff> up in my
grill?" And you know what? It was worth it. I'd go so far to say it
was /Great/, actually. /Yeah./†)
I think that, maybe, what went wrong was—I tried to upgrade my
system's Python to the 2.5. And I think maybe I fucked that up
somehow, and now I'm paying for it. (But—while I'm real uncomfortable
playing about in Terminal, I know how to navigate package contents in
the Finder & whatnot aaand I know I installed the right
package...shit, but I was also installing...something else...um, /
yeah/, the iPhone SDK, and that had finished installing but I
installed the PythonApplications-2.5.pkg thing [or whatever it's
named] before restarting the computer like the iPhone SDK installer
required of me and /fuck/ maybe that's somehow responsible? /IT MIGHT
BE/ BUT I HONESTLY HAVE NO IDEA.)
...um. Yeah. So. Um. Here's a full transcript of the Terminal
session, in case it's useful, and because I don't know enough about
what's going on to excerpt only the useful bits:
Last login: Fri Nov 21 12:39:39 on console
liripipe:~ liripipe$ curl -OL http://www.turbogears.org/download/tgsetup.py
% Total % Received % Xferd Average Speed Time Time
Time Current
Dload Upload Total Spent
Left Speed
100 16284 100 16284 0 0 3481 0 0:00:04 0:00:04
--:--:-- 3481
liripipe:~ liripipe$ sudo python tgsetup.py
Password:
TurboGears Installer
Beginning setuptools/EasyInstall installation and TurboGears download
Downloading
http://cheeseshop.python.org/packages/2.5/s/setuptools/setuptools-0.6c8-py2.5.egg
Processing setuptools-0.6c8-py2.5.egg
Copying setuptools-0.6c8-py2.5.egg to /Library/Python/2.5/site-
packages
Adding setuptools 0.6c8 to easy-install.pth file
Installing easy_install script to /usr/local/bin
Installing easy_install-2.5 script to /usr/local/bin
Installed /Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg
Processing dependencies for setuptools==0.6c8
Finished processing dependencies for setuptools==0.6c8
Searching for TurboGears==1.0.7
Reading http://www.turbogears.org/download/
Reading http://pypi.python.org/simple/TurboGears/
Reading http://www.turbogears.org
Reading http://www.turbogears.org/download/filelist.html
Best match: TurboGears 1.0.7
Downloading http://files.turbogears.org/eggs/TurboGears-1.0.7-py2.5.egg
Processing TurboGears-1.0.7-py2.5.egg
creating /Library/Python/2.5/site-packages/TurboGears-1.0.7-py2.5.egg
Extracting TurboGears-1.0.7-py2.5.egg to /Library/Python/2.5/site-
packages
Adding TurboGears 1.0.7 to easy-install.pth file
Installing tg-admin script to /usr/local/bin
Installed /Library/Python/2.5/site-packages/TurboGears-1.0.7-py2.5.egg
Reading http://files.turbogears.org/eggs/
Processing dependencies for TurboGears==1.0.7
Searching for TurboKid>=1.0.4
Reading http://pypi.python.org/simple/TurboKid/
Reading http://www.turbogears.org/docs/plugins/template.html
Reading http://www.turbogears.org/preview/download/
Reading http://docs.turbogears.org/TurboKid
Best match: TurboKid 1.0.4
Downloading http://files.turbogears.org/eggs/TurboKid-1.0.4-py2.5.egg
Processing TurboKid-1.0.4-py2.5.egg
creating /Library/Python/2.5/site-packages/TurboKid-1.0.4-py2.5.egg
Extracting TurboKid-1.0.4-py2.5.egg to /Library/Python/2.5/site-
packages
Adding TurboKid 1.0.4 to easy-install.pth file
Installed /Library/Python/2.5/site-packages/TurboKid-1.0.4-py2.5.egg
Searching for TurboJson>=1.1.4,<1.2
Reading http://pypi.python.org/simple/TurboJson/
Reading http://docs.turbogears.org/TurboJson
Best match: TurboJson 1.1.4
Downloading
http://pypi.python.org/packages/2.5/T/TurboJson/TurboJson-1.1.4-py2.5.egg#md5=d7bb809e5a0e40ffcc0018854c2eaeb6
Processing TurboJson-1.1.4-py2.5.egg
creating /Library/Python/2.5/site-packages/TurboJson-1.1.4-py2.5.egg
Extracting TurboJson-1.1.4-py2.5.egg to /Library/Python/2.5/site-
packages
Adding TurboJson 1.1.4 to easy-install.pth file
Installed /Library/Python/2.5/site-packages/TurboJson-1.1.4-py2.5.egg
Searching for TurboCheetah>=1.0
Reading http://pypi.python.org/simple/TurboCheetah/
Reading http://docs.turbogears.org/TurboCheetah
Best match: TurboCheetah 1.0
Downloading http://files.turbogears.org/eggs/TurboCheetah-1.0-py2.5.egg
Processing TurboCheetah-1.0-py2.5.egg
creating /Library/Python/2.5/site-packages/TurboCheetah-1.0-py2.5.egg
Extracting TurboCheetah-1.0-py2.5.egg to /Library/Python/2.5/site-
packages
Adding TurboCheetah 1.0 to easy-install.pth file
Installed /Library/Python/2.5/site-packages/TurboCheetah-1.0-py2.5.egg
Searching for simplejson>=1.3
Reading http://pypi.python.org/simple/simplejson/
Reading http://undefined.org/python/#simplejson
Best match: simplejson 2.0.4
Downloading
http://pypi.python.org/packages/source/s/simplejson/simplejson-2.0.4.tar.gz#md5=9a888ea017ef2fcd42a2823454950b16
Processing simplejson-2.0.4.tar.gz
Running simplejson-2.0.4/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-s_Hq0s/simplejson-2.0.4/egg-dist-tmp-LjhqW1
No eggs found in /tmp/easy_install-s_Hq0s/simplejson-2.0.4/egg-dist-
tmp-LjhqW1 (setup script problem?)
error: Could not find required distribution simplejson>=1.3
liripipe:~ liripipe$ echo $SHELL
/bin/bash
liripipe:~ liripipe$ echo 'PATH=/usr/local/bin:$PATH; export PATH' >>
~/.bash_profile
liripipe:~ liripipe$ source ~/.bash_profile
liripipe:~ liripipe$ tg-admin info
Traceback (most recent call last):
File "/usr/local/bin/tg-admin", line 5, in <module>
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.5/
Extras/lib/python/pkg_resources.py", line 2561, in <module>
working_set.add(dist)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/
Extras/lib/python/pkg_resources.py", line 626, in require
File "/System/Library/Frameworks/Python.framework/Versions/2.5/
Extras/lib/python/pkg_resources.py", line 524, in resolve
processed[req] = True
pkg_resources.DistributionNotFound: simplejson>=1.3
liripipe:~ liripipe$
† It wasn't that great, actually.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---