thanks for the quick reply. i found the source of all problems.
actually twofold:
1) mysqldb had a couple of orphaned temp egg's laying around and
2) i had remnants of macports left (the x11 pieces you should manually
track down :)
and there was another .pth file hanging around.
anyway, got it sorted out. thanks for the help!!
On Jul 16, 7:43 pm, Ian Bicking <[EMAIL PROTECTED]> wrote:
> I'm not sure, but I suspect it's not paster that's the problem, but
> perhaps that MySQLdb wasn't installed correctly somehow, and that is
> causing Setuptools to barf. That, and/or in you application you have
> something in YourApp.egg-info/paster_plugins.txt that is referencing a
> package that requires MySQLdb, but that driver isn't installed (or if
> you are using a virtual env, might not be installed in that environment).
>
>
>
> morecowbell wrote:
> > greetings,
>
> > i've been trying to get through the pylons example but got stuck at
> > executing
> > the first paster command and was hoping somebody can tell me what's
> > going on.
> > i'm on mac 10.4, intel and ppc, got the regular python 2.5 set up and
> > pylons in a
> > virtual environment. in my global environment, i got cherrypy, django,
> > httlib2, pyqt4,
> > mysqldb 1.2.2c1, setuptools 0.6c8, sql alchemy 0.46; in the virtual
> > env i got the
> > standard pylons libs and setup tools 0.6c8.
>
> > to the problem at hand: somewhere is a dependency on mysqldb and i
> > can't figure
> > out where. (i installed mysqldb manually with -build and -install):
>
> > bb-iMac:~ bebo$ ~/env/bin/paster create -template=pylons HelloWorld
> > Traceback (most recent call last):
> > File "/Users/bebo/env/bin/paster", line 8, in <module>
> > load_entry_point('PasteScript==1.6.3', 'console_scripts', 'paster')
> > ()
> > File "/Users/bebo/env/lib/python2.5/site-packages/PasteScript-1.6.3-
> > py2.5.egg/paste/script/command.py", line 68, in run
> > commands = get_commands()
> > File "/Users/bebo/env/lib/python2.5/site-packages/PasteScript-1.6.3-
> > py2.5.egg/paste/script/command.py", line 110, in get_commands
> > plugins = pluginlib.resolve_plugins(plugins)
> > File "/Users/bebo/env/lib/python2.5/site-packages/PasteScript-1.6.3-
> > py2.5.egg/paste/script/pluginlib.py", line 81, in resolve_plugins
> > pkg_resources.require(plugin)
> > File "/Users/bebo/env/lib/python2.5/site-packages/setuptools-0.6c8-
> > py2.5.egg/pkg_resources.py", line 626, in require
> > File "/Users/bebo/env/lib/python2.5/site-packages/setuptools-0.6c8-
> > py2.5.egg/pkg_resources.py", line 524, in resolve
> > pkg_resources.DistributionNotFound: MySQL-Python-1.2.1-p2-py2.5: Not
> > Found for: MySQL_Python-1.2.1_p2-py2.5 (did you run python setup.py
> > develop?)
> > bb-iMac:~ bebo$
>
> > this is the easy-install.pth for the virtual env:
>
> > import sys; sys.__plen = len(sys.path)
> > ./setuptools-0.6c8-py2.5.egg
> > ./PasteDeploy-1.3.2-py2.5.egg
> > ./Pylons-0.9.6.2-py2.5.egg
> > ./Mako-0.2.2-py2.5.egg
> > ./nose-0.10.3-py2.5.egg
> > ./decorator-2.3.0-py2.5.egg
> > ./simplejson-1.9.2-py2.5-macosx-10.5-i386.egg
> > ./FormEncode-1.0.1-py2.5.egg
> > ./PasteScript-1.6.3-py2.5.egg
> > ./Paste-1.7.1-py2.5.egg
> > ./Beaker-0.9.5-py2.5.egg
> > ./WebHelpers-0.6-py2.5.egg
> > ./Routes-1.9.2-py2.5.egg
> > import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:];
> > p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p
> > +len(new)
>
> > and for the setuptools.pth
> > ./setuptools-0.6c8-py2.5.egg
>
> > given the enormous amount of time i spent chasing this down, to no
> > avail, it must be something annoyingly trivial.
>
> > thx for your help
>
> --
> Ian Bicking : [EMAIL PROTECTED] :http://blog.ianbicking.org
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---