PyXML setup question
Noel Rappin
noel.rappin at openwave.com
Tue Apr 3 12:02:52 EDT 2001
Attempting to install PyXML on a machine where Python2.0 is not in a
standard location, I got the following error while running setup.py build:
========
File "setup.py", line 218, in ?
scripts = ['scripts/xmlproc_parse', 'scripts/xmlproc_val']
File "/nfs/home/nrappin/Python-2.0/Lib/distutils/core.py", line 138, in
setup
dist.run_commands()
File "/nfs/home/nrappin/Python-2.0/Lib/distutils/dist.py", line 829, in
run_commands
self.run_command(cmd)
File "/nfs/home/nrappin/Python-2.0/Lib/distutils/dist.py", line 849, in
run_command
cmd_obj.run()
File "/nfs/home/nrappin/Python-2.0/Lib/distutils/command/build.py", line
106, in run
self.run_command(cmd_name)
File "/nfs/home/nrappin/Python-2.0/Lib/distutils/cmd.py", line 328, in
run_command
self.distribution.run_command(command)
File "/nfs/home/nrappin/Python-2.0/Lib/distutils/dist.py", line 849, in
run_command
cmd_obj.run()
File "/nfs/home/nrappin/Python-2.0/Lib/distutils/command/build_ext.py",
line 200, in run
customize_compiler(self.compiler)
File "/nfs/home/nrappin/Python-2.0/Lib/distutils/sysconfig.py", line 106,
in customize_compiler
(cc, opt, ccshared, ldshared, so_ext) = \
File "/nfs/home/nrappin/Python-2.0/Lib/distutils/sysconfig.py", line 368,
in get_config_vars
func()
File "/nfs/home/nrappin/Python-2.0/Lib/distutils/sysconfig.py", line 280,
in _init_posix
raise DistutilsPlatformError, my_msg
distutils.errors.DistutilsPlatformError: invalid Python installation: unable
to open /usr/local/lib/python2.0/config/Makefile (No such file or directory)
=========
The weird thing about this is that even were Python in /user/local/lib, the
directory is a) capitalized, and b) there is no /config/Makefile.
Does anybody have any ideas as to what I'm missing?
Noel
-------------
Noel Rappin
Openwave
Principal Software Engineer, Internal Development
Noel.Rappin at openwave.com
(781) 274-7000 x305
The contents of this email message do not necessarily reflect the opinions
or programming practices of Openwave Systems
More information about the Python-list
mailing list