A new version of Chameleon was released about an hour ago that doesn't work with Pyramid.
While that's worked out, before installing Pyramid, in your virtualenv, do: bin/easy_install "Chameleon<1.9999" Then run "easy_install pyramid". On Mon, 2011-02-28 at 19:44 +0100, Andreas Reuleaux wrote: > Hm, very recent pyramid installation on debian wheezy > > python (2.6), python-dev, python-virtualenv installed > as debian packages > > # aptitude install python python-dev python-virtualenv build-essential > > python-setuptools is also installed as a dependency of python-virtualenv > > just see, if setuptools is installed: > > $ python > Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40) > [GCC 4.4.5] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import setuptools > >>> setuptools > <module 'setuptools' from > '/usr/lib/python2.6/dist-packages/setuptools/__init__.pyc'> > >>> > > then as a normal user: > > $ virtualenv --no-site-packages env > $ cd env > $ ./bin/easy_install pyramid > ... > [after successfully installing quite some packages, at the end however:] > ... > Searching for Chameleon>=1.2.3 > Reading http://pypi.python.org/simple/Chameleon/ > Reading http://chameleon.repoze.org > Best match: Chameleon 2.0-rc1 > Downloading > http://pypi.python.org/packages/source/C/Chameleon/Chameleon-2.0-rc1.tar.gz#md5=43fd64c4d703323656804284a19de8a0 > Processing Chameleon-2.0-rc1.tar.gz > Running Chameleon-2.0-rc1/setup.py -q bdist_egg --dist-dir > /tmp/easy_install-nrAEdz/Chameleon-2.0-rc1/egg-dist-tmp-X94maY > Traceback (most recent call last): > File "./bin/easy_install", line 9, in <module> > load_entry_point('distribute==0.6.10', 'console_scripts', > 'easy_install')() > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/easy_install.py", > line 1714, in main > with_ei_usage(lambda: > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/easy_install.py", > line 1695, in with_ei_usage > return f() > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/easy_install.py", > line 1718, in <lambda> > distclass=DistributionWithoutHelpCommands, **kw > File "/usr/lib/python2.6/distutils/core.py", line 152, in setup > dist.run_commands() > File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands > self.run_command(cmd) > File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command > cmd_obj.run() > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/easy_install.py", > line 236, in run > self.easy_install(spec, not self.no_deps) > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/easy_install.py", > line 471, in easy_install > return self.install_item(spec, dist.location, tmpdir, deps) > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/easy_install.py", > line 503, in install_item > self.process_distribution(spec, dist, deps) > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/easy_install.py", > line 544, in process_distribution > [requirement], self.local_index, self.easy_install > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/pkg_resources.py", > line 538, in resolve > dist = best[req.key] = env.best_match(req, self, installer) > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/pkg_resources.py", > line 780, in best_match > return self.obtain(req, installer) # try and download/install > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/pkg_resources.py", > line 792, in obtain > return installer(requirement) > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/easy_install.py", > line 471, in easy_install > return self.install_item(spec, dist.location, tmpdir, deps) > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/easy_install.py", > line 501, in install_item > dists = self.install_eggs(spec, download, tmpdir) > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/easy_install.py", > line 680, in install_eggs > return self.build_and_install(setup_script, setup_base) > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/easy_install.py", > line 957, in build_and_install > self.run_setup(setup_script, setup_base, args) > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/easy_install.py", > line 946, in run_setup > run_setup(setup_script, args) > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/sandbox.py", > line 29, in run_setup > lambda: execfile( > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/sandbox.py", > line 70, in run > return func() > File > "/home/reuleaux/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/sandbox.py", > line 31, in <lambda> > {'__file__':setup_script, '__name__':'__main__'} > File "setup.py", line 6, in <module> > ImportError: No module named distribute_setup > $ > > Any idea? > -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.