There is a high possibility that this is not purely a pyramid problem.
But in case anyone has an idea.
I would like to run my pyramid application under a zc.buildout environment.
I have this application packaged to a local pypl.
my buildout recipes include pyramid and associated bindings like
pyramid_beaker,
and my application "myApp" and other requirements for myApp.
when I run buildout, everything runs to completion except for myApp.
Here, I get the following error. After searching the web and getting no
solution, I
have decided to bring this here.
Error:
Getting distribution for 'myapp'.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
line 1937, in main
with_ei_usage(lambda:
File
"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
line 1918, in with_ei_usage
return f()
File
"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
line 1941, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File
"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
line 358, in run
self.easy_install(spec, not self.no_deps)
File
"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
line 578, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File
"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
line 628, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File
"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
line 823, in install_eggs
return self.build_and_install(setup_script, setup_base)
File
"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
line 1103, in build_and_install
self.run_setup(setup_script, setup_base, args)
File
"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
line 1089, in run_setup
run_setup(setup_script, args)
File "/usr/local/lib/python2.7/dist-packages/setuptools/sandbox.py", line
33, in run_setup
lambda: execfile(
File "/usr/local/lib/python2.7/dist-packages/setuptools/sandbox.py", line
81, in run
return func()
File "/usr/local/lib/python2.7/dist-packages/setuptools/sandbox.py", line
35, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 6, in <module>
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 913,
in resource_filename
return get_provider(package_or_requirement).get_resource_filename(
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 219,
in get_provider
__import__(moduleOrReq)
File "/tmp/easy_install-yzmI30/myapp-0.6.0/myapp/__init__.py", line 1, in
<module>
#
ImportError: No module named pyramid.config
An error occured when trying to install myapp 0.6.0. Look above this
message for any errors that were output by easy_install.
While:
Installing py.
Getting distribution for 'myapp'.
Error: Couldn't install: myapp 0.6.0
Any help will be greatly appreciated.
Thanks
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.