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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---