Two things: firstly, posting the same mail twice isn't going to get
you help any sooner.

Secondly, you need to make sure you don't have the packages required
by buildout installed anywhere else in your system (other than perhaps
in a virtualenv). I recently got this error too, and I think it
disappeared when I made sure I didn't have any of the dependencies
installed system-wide.

On 2 April 2013 20:03, Sanele Mahlalela <[email protected]> wrote:
> I am getting this error when I try to ran buildout, to install
> myApp packaged to local pypi, and pyramid.
> Anyone has an idea why?
>
> 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
>
> --
> 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.
>
>



-- 
Raoul Snyman
B.Tech Information Technology (Software Engineering)
E-Mail:   [email protected]
Web:      http://www.saturnlaboratories.co.za/
Blog:      http://blog.saturnlaboratories.co.za/
Mobile:   082 550 3754
Registered Linux User #333298 (http://counter.li.org)

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


Reply via email to