Couldn't install: psycopg2 2.0.7 when trying to run buildout

45 views
Skip to first unread message

Nate Aune

unread,
Jun 14, 2008, 8:41:49 PM6/14/08
to vudo
i'm trying to run the latest buildout from trunk and getting the
following error on OSX 10.5. any ideas?

Installing psycopg2.
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/Users/nateaune/.buildout/eggs/setuptools-0.6c8-py2.4.egg/
setuptools/__init__.py", line 2, in ?
from setuptools.extension import Extension, Library
File "/Users/nateaune/.buildout/eggs/setuptools-0.6c8-py2.4.egg/
setuptools/extension.py", line 2, in ?
from dist import _get_unpatched
File "/Users/nateaune/.buildout/eggs/setuptools-0.6c8-py2.4.egg/
setuptools/dist.py", line 5, in ?
from setuptools.command.install import install
File "/Users/nateaune/.buildout/eggs/setuptools-0.6c8-py2.4.egg/
setuptools/command/__init__.py", line 13, in ?
from distutils.command.bdist import bdist
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/distutils/command/bdist.py", line 29, in ?
class bdist (Command):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/distutils/command/bdist.py", line 33, in bdist
user_options = [('bdist-base=', 'b',
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/distutils/util.py", line 78, in get_platform
cfgvars = get_config_vars()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/distutils/sysconfig.py", line 488, in get_config_vars
func()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/distutils/sysconfig.py", line 373, in _init_posix
raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET
mismatch: now "10.5" but "10.3" during configure
An error occured when trying to install psycopg2 2.0.7.Look above this
message for any errors thatwere output by easy_install.
While:
Installing psycopg2.
Error: Couldn't install: psycopg2 2.0.7

Malthe Borch

unread,
Jun 14, 2008, 8:53:55 PM6/14/08
to vu...@googlegroups.com
Hey Nate, –––

For one, you will need to use Python 2.5; at least, that's our target version.

It also seems like you're using a system interpreter, and from the
traceback, it seems to cause problems. What we're doing is to compile
a fresh Python 2.5; this seems to work quite well.

Look in README.txt for more information on getting set up; there's a
few notes on potential Mac issues in there as well.

Glad to see your interest in the project; join #vudo if you need more help.

\malthe

2008/6/15 Nate Aune <na...@jazkarta.com>:

--
--=====================--
mail: mbo...@gmail.com
homepage: zeitmaschine.dk
--=====================--

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages