[Distutils] Fwd: [TurboGears] Error installing cElementTree !
Basem Narmok
narm at go.com.jo
Wed Nov 2 21:01:28 CET 2005
Kevin Dangoor wrote:
>On 11/2/05, Phillip J. Eby <pje at telecommunity.com> wrote:
>
>
>>At 11:20 AM 11/2/2005 -0500, Kevin Dangoor wrote:
>>
>>
>>>Has any recent change to setuptools affected a call to "swig_sources"?
>>>
>>>Kevin
>>>
>>>
>>No. If you search the TurboGears archives via Google, someone else
>>reported this problem in September, and the issue turned out to be missing
>>files in a distribution on turbogears.org. You might check to see if this
>>is the same thing.
>>
>>
>
>It doesn't look like it. The cElementTree tarball that's up there now
>has all of the .h files.
>
>Kevin
>
>
>
Hi all,
This is all of the traceback:
easy_install -f http://www.turbogears.org/download/index.html
--script-dir /usr/local/bin TurboGears
Reading http://www.turbogears.org/download/index.html
Searching for TurboGears
Best match: TurboGears 0.8a4
Downloading
http://www.turbogears.org/download/eggs/TurboGears-0.8a4-py2.4.egg
Processing TurboGears-0.8a4-py2.4.egg
removing '/usr/lib/python2.4/site-packages/TurboGears-0.8a4-py2.4.egg'
(and everything under it)
creating /usr/lib/python2.4/site-packages/TurboGears-0.8a4-py2.4.egg
Extracting TurboGears-0.8a4-py2.4.egg to /usr/lib/python2.4/site-packages
TurboGears 0.8a4 is already the active version in easy-install.pth
Installing tg-admin script to /usr/local/bin
Installed /usr/lib/python2.4/site-packages/TurboGears-0.8a4-py2.4.egg
Processing dependencies for TurboGears
Searching for cElementTree>=1.0.2
Best match: cElementTree 1.0.2-20050302
Downloading
http://www.turbogears.org/download/eggs/cElementTree-1.0.2-20050302.tar.gz
Processing cElementTree-1.0.2-20050302.tar.gz
Running cElementTree-1.0.2-20050302/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-XzDGfh/cElementTree-1.0.2-20050302/egg-dist-tmp-scXJsf
Traceback (most recent call last):
File "/usr/local/bin/easy_install", line 7, in ?
sys.exit(
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/command/easy_install.py",
line 1181, in main
setup(script_args = ['-q','easy_install', '-v']+argv, **kw)
File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
dist.run_commands()
File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/command/easy_install.py",
line 230, in run
self.easy_install(spec, not self.no_deps)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/command/easy_install.py",
line 317, in easy_install
return self.install_item(spec, download, tmpdir, deps)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/command/easy_install.py",
line 340, in install_item
self.process_distribution(spec, dist, deps)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/command/easy_install.py",
line 397, in process_distribution
WorkingSet([]).resolve(
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/pkg_resources.py",
line 481, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/pkg_resources.py",
line 635, in best_match
return self.obtain(req, installer) # try and download/install
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/pkg_resources.py",
line 647, in obtain
return installer(requirement)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/command/easy_install.py",
line 317, in easy_install
return self.install_item(spec, download, tmpdir, deps)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/command/easy_install.py",
line 338, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/command/easy_install.py",
line 573, in install_eggs
return self.build_and_install(setup_script, setup_base)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/command/easy_install.py",
line 848, in build_and_install
self.run_setup(setup_script, setup_base, args)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/command/easy_install.py",
line 837, in run_setup
run_setup(setup_script, args)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/sandbox.py",
line 26, in run_setup
DirectorySandbox(setup_dir).run(
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/sandbox.py",
line 63, in run
return func()
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/sandbox.py",
line 29, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 93, in ?
File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
dist.run_commands()
File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/command/bdist_egg.py",
line 174, in run
cmd = self.call_command('install_lib', warn_dir=0)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/command/bdist_egg.py",
line 161, in call_command
self.run_command(cmdname)
File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/lib/python2.4/distutils/command/install_lib.py", line 88,
in run
self.build()
File "/usr/lib/python2.4/distutils/command/install_lib.py", line 110,
in build
self.run_command('build_ext')
File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a6-py2.4.egg/setuptools/command/build_ext.py",
line 16, in run
_build_ext.run(self)
File "/usr/lib/python2.4/distutils/command/build_ext.py", line 279, in run
self.build_extensions()
File "/usr/lib/python2.4/distutils/command/build_ext.py", line 405, in
build_extensions
self.build_extension(ext)
File "/usr/lib/python2.4/distutils/command/build_ext.py", line 442, in
build_extension
sources = self.swig_sources(sources, ext)
TypeError: swig_sources() takes exactly 2 arguments (3 given)
More information about the Distutils-SIG
mailing list