PyXML setup question
Andrew Kuchling
akuchlin at mems-exchange.org
Wed Apr 4 14:00:45 EDT 2001
"Noel Rappin" <noel.rappin at openwave.com> writes:
> 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.
Was Python configured and compiled with --prefix set to wherever
you're putting it? The code for figuring out the Makefile's location
is in Lib/distutils/sysconfig.py, and it just uses sys.prefix; see
get_python_lib() and get_makefile_filename().
--amk
More information about the Python-list
mailing list