Problems installing MySQLdb...
trace s. ruggles
trace at reinventnow.com
Wed Mar 28 00:38:32 EST 2001
Hi, I'm having the darndest time installing MySQLdb in Python 2.0 running on
FreeBSD.
Below is the interaction I get. /distutils/sysconfig.py is looking for
config/Makefile which doesn't exist, but I've never had a directory named
"config" at the top-level. No matter how many times I've tried to
re-install Python.
Does anyone out there have a clue about what's going on?
Additional info: I'm running a virtual private server through Verio and I'm
trying to install this on a local version of Python (hence the
/usr/home/axiomfir prefix on everything).
--Trace
--
Trace S. Ruggles :: trace at reinventnow.com
512/894.4402 :: 512/845.9354
..........
axiomfire% ../../python setup.py install
running install
Traceback (most recent call last):
File "setup.py", line 103, in ?
extra_objects=extra_objects,
File "/usr/home/axiomfir/usr/local/lib/Python-2.0/Lib/distutils/core.py",
line 138, in setup
dist.run_commands()
File "/usr/home/axiomfir/usr/local/lib/Python-2.0/Lib/distutils/dist.py",
line 829, in run_commands
self.run_command(cmd)
File "/usr/home/axiomfir/usr/local/lib/Python-2.0/Lib/distutils/dist.py",
line 848, in run_command
cmd_obj.ensure_finalized()
File "/usr/home/axiomfir/usr/local/lib/Python-2.0/Lib/distutils/cmd.py",
line 112, in ensure_finalized
self.finalize_options()
File
"/usr/home/axiomfir/usr/local/lib/Python-2.0/Lib/distutils/command/install.p
y", line 255, in finalize_options
(prefix, exec_prefix) = get_config_vars('prefix', 'exec_prefix')
File
"/usr/home/axiomfir/usr/local/lib/Python-2.0/Lib/distutils/sysconfig.py",
line 372, in get_config_vars
func()
File
"/usr/home/axiomfir/usr/local/lib/Python-2.0/Lib/distutils/sysconfig.py",
line 284, in _init_posix
raise DistutilsPlatformError, my_msg
distutils.errors.DistutilsPlatformError: invalid Python installation: unable
to open /usr/home/axiomfir/usr/local/lib/Python-2.0/config/Makefile (No such
file or directory)
axiomfire%
More information about the Python-list
mailing list