6 messages in com.googlegroups.pylons-discussRe: paster has a PasteScript error here| From | Sent On | Attachments |
|---|---|---|
| Martin Kaffanke | 19 Oct 2006 08:18 | |
| Rick Flosi | 19 Oct 2006 08:37 | |
| Martin Kaffanke | 19 Oct 2006 09:47 | |
| Martin Kaffanke | 19 Oct 2006 10:24 | |
| Ian Bicking | 19 Oct 2006 10:30 | |
| Martin Kaffanke | 19 Oct 2006 10:36 |
| Subject: | Re: paster has a PasteScript error here![]() |
|---|---|
| From: | Martin Kaffanke (tech...@public.gmane.org) |
| Date: | 10/19/2006 10:24:09 AM |
| List: | com.googlegroups.pylons-discuss |
Ok, it did not work fully:
$ paster create --template=pylons helloworld
Traceback (most recent call last):
File "/usr/local/bin/paster", line 5, in ?
pkg_resources.run_script('PasteScript==0.9.7', 'paster')
File
"/usr/lib/python2.4/site-packages/setuptools-0.6c3-py2.4.egg/pkg_resources.py",
line 407, in run_script self.require(requires)[0].run_script(script_name, ns)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6c3-py2.4.egg/pkg_resources.py",
line 1084, in run_script
execfile(script_filename, namespace, namespace)
File
"/usr/lib/python2.4/site-packages/PasteScript-0.9.7-py2.4.egg/EGG-INFO/scripts/paster",
line 18, in ?
command.run()
File
"/usr/lib/python2.4/site-packages/PasteScript-0.9.7-py2.4.egg/paste/script/command.py",
line 76, in run invoke(command, command_name, options, args[1:])
File
"/usr/lib/python2.4/site-packages/PasteScript-0.9.7-py2.4.egg/paste/script/command.py",
line 115, in invoke
exit_code = runner.run(args)
File
"/usr/lib/python2.4/site-packages/PasteScript-0.9.7-py2.4.egg/paste/script/command.py",
line 210, in run
result = self.command()
File
"/usr/lib/python2.4/site-packages/PasteScript-0.9.7-py2.4.egg/paste/script/create_distro.py",
line 69, in command
self.extend_templates(templates, tmpl_name)
File
"/usr/lib/python2.4/site-packages/PasteScript-0.9.7-py2.4.egg/paste/script/create_distro.py",
line 222, in extend_templates
tmpl = entry.load()(entry.name)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6c3-py2.4.egg/pkg_resources.py",
line 1829, in load
if require: self.require(env, installer)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6c3-py2.4.egg/pkg_resources.py",
line 1842, in require
working_set.resolve(self.dist.requires(self.extras),env,installer))
File
"/usr/lib/python2.4/site-packages/setuptools-0.6c3-py2.4.egg/pkg_resources.py",
line 487, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (PasteScript 0.9.7
(/usr/lib/python2.4/site-packages/PasteScript-0.9.7-py2.4.egg),
Requirement.parse('PasteScript>=0.9.8'))
This seems to be somehow mixed with the versions.
Tell me what could I try next? A simple 'paster create helloworld' works finde, but its to hard for me to start there lerning pylons.
Thanks, Martin
Am Donnerstag, den 19.10.2006, 10:37 -0500 schrieb Rick Flosi:
Try: easy_install -UaZ \ http://cheeseshop.python.org/packages/source/P/PasteScript/PasteScript-0.9.7.tar.gz#md5=f12fa3a9abd8a4e24ae775c649f12a45
***
The link comes from: http://www.python.org/pypi/PasteScript/0.9.7
-- Rick
On Thu, 19 Oct 2006, Martin Kaffanke wrote:
Hi there!
Copy and paste says more than I can explain:
$ paster help
Traceback (most recent call last):
File "/usr/local/bin/paster", line 4, in ?
import pkg_resources
File
"/usr/lib/python2.4/site-packages/setuptools-0.6c3-py2.4.egg/pkg_resources.py",
line 2482, in ?
for dist in working_set.resolve(
File
"/usr/lib/python2.4/site-packages/setuptools-0.6c3-py2.4.egg/pkg_resources.py",
line 483, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: PasteScript==0.9.7
$ sudo easy_install -m PasteScript==0.9.7 Searching for PasteScript==0.9.7 Reading http://www.python.org/pypi/PasteScript/ Reading http://pythonpaste.org/script/ Reading http://www.python.org/pypi/PasteScript/0.9.8 No local packages or download links found for PasteScript==0.9.7 error: Could not find suitable distribution for Requirement.parse('PasteScript==0.9.7')
Ok, pylons wants PasteScript 0.9.7, but I have only 0.9.8 there.
Any suggestions what I can do?
Thanks, Martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to
pylons-discuss-/JYPx...@public.gmane.org
To unsubscribe from this group, send email to
pylons-discuss-unsubscribe-/JYPx...@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---




