Installation Error on OS X
theodore test <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello everyone,
I recently attempted to install psycopg2-2.0.10 on my Intel OS X 10.4.11
system. Both the "easy_install ." and regular "python setup.py install"
methods produced similar errors. Any thoughts or advice?
Thanks in advance,
Theodore Test
===EASY_INSTALL VERSION===
$ easy_install .
Processing .
Running setup.py -q bdist_egg --dist-dir
/Users/TheoTest/Desktop/Buffer/psycopg2-2.0.10/egg-dist-tmp-Pu9Bo4
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/Current/bin/easy_install",
line 8, in <module>
load_entry_point('setuptools==0.6c8.0002', 'console_scripts',
'easy_install')()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/command/easy_install.py",
line 1671, in main
with_ei_usage(lambda:
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/command/easy_install.py",
line 1659, in with_ei_usage
return f()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/command/easy_install.py",
line 1675, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/core.py",
line 151, in setup
dist.run_commands()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/dist.py",
line 974, in run_commands
self.run_command(cmd)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/dist.py",
line 994, in run_command
cmd_obj.run()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/command/easy_install.py",
line 211, in run
self.easy_install(spec, not self.no_deps)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/command/easy_install.py",
line 427, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/command/easy_install.py",
line 476, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/command/easy_install.py",
line 655, in install_eggs
return self.build_and_install(setup_script, setup_base)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/command/easy_install.py",
line 930, in build_and_install
self.run_setup(setup_script, setup_base, args)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/command/easy_install.py",
line 919, in run_setup
run_setup(setup_script, args)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/sandbox.py",
line 27, in run_setup
lambda: execfile(
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/sandbox.py",
line 63, in run
return func()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/sandbox.py",
line 29, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 410, in <module>
ext_modules=ext)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/core.py",
line 151, in setup
dist.run_commands()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/dist.py",
line 974, in run_commands
self.run_command(cmd)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/dist.py",
line 994, in run_command
cmd_obj.run()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/command/bdist_egg.py",
line 167, in run
self.run_command("egg_info")
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/cmd.py",
line 333, in run_command
self.distribution.run_command(command)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/dist.py",
line 994, in run_command
cmd_obj.run()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/command/egg_info.py",
line 171, in run
self.find_sources()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/command/egg_info.py",
line 252, in find_sources
mm.run()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/command/egg_info.py",
line 306, in run
self.add_defaults()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/setuptools-0.6c8.0002-py2.5.egg/setuptools/command/egg_info.py",
line 330, in add_defaults
sdist.add_defaults(self)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/command/sdist.py",
line 300, in add_defaults
build_ext = self.get_finalized_command('build_ext')
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/cmd.py",
line 319, in get_finalized_command
cmd_obj.ensure_finalized()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/cmd.py",
line 117, in ensure_finalized
self.finalize_options()
File "setup.py", line 219, in finalize_options
except (Warning, w):
NameError: global name 'w' is not defined
===PYTHON SETUP.PY INSTALL VERSION===
$python setup.py install
Password:
running install
running build
running build_py
running build_ext
Traceback (most recent call last):
File "setup.py", line 410, in <module>
ext_modules=ext)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/core.py",
line 151, in setup
dist.run_commands()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/dist.py",
line 974, in run_commands
self.run_command(cmd)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/dist.py",
line 994, in run_command
cmd_obj.run()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/command/install.py",
line 506, in run
self.run_command('build')
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/cmd.py",
line 333, in run_command
self.distribution.run_command(command)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/dist.py",
line 994, in run_command
cmd_obj.run()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/command/build.py",
line 112, in run
self.run_command(cmd_name)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/cmd.py",
line 333, in run_command
self.distribution.run_command(command)
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/dist.py",
line 993, in run_command
cmd_obj.ensure_finalized()
File
"/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/distutils/cmd.py",
line 117, in ensure_finalized
self.finalize_options()
File "setup.py", line 219, in finalize_options
except (Warning, w):
NameError: global name 'w' is not defined
_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg