pyzor--can build but not install
Ugo Bellavance
ugob at CAMO-ROUTE.COM
Fri Jan 2 16:57:23 GMT 2004
> -----Message d'origine-----
> De : Chris Yuzik [mailto:chris at FRACTALWEB.COM]
> Envoyé : Friday, January 02, 2004 10:52 AM
> À : MAILSCANNER at JISCMAIL.AC.UK
> Objet : pyzor--can build but not install
>
>
> Hi everyone,
>
> I have Python version 2.2 on the server (RH7.3, Ensim Pro)
> installed as
> "python2". I can build pyzor (0.4.0) by typing "python2
> setup.py build"
> and that goes fine. Unfortunately, when I try to do "python2 setup.py
> install" I get a ton of errors.
make sure you have the -devel package installed
>
> # python2 setup.py install
> running install
> Traceback (most recent call last):
> File "setup.py", line 25, in ?
> data_files=[('share/doc/pyzor', ['docs/usage.html'])],
> File "//usr/lib/python2.2/distutils/core.py", line 138, in setup
> dist.run_commands()
> File "//usr/lib/python2.2/distutils/dist.py", line 893, in
> run_commands
> self.run_command(cmd)
> File "//usr/lib/python2.2/distutils/dist.py", line 912, in
> run_command
> cmd_obj.ensure_finalized()
> File "//usr/lib/python2.2/distutils/cmd.py", line 112, in
> ensure_finalized
> self.finalize_options()
> File "//usr/lib/python2.2/distutils/command/install.py",
> line 267, in
> finalize_options
> (prefix, exec_prefix) = get_config_vars('prefix', 'exec_prefix')
> File "//usr/lib/python2.2/distutils/sysconfig.py", line 421, in
> get_config_vars
> func()
> File "//usr/lib/python2.2/distutils/sysconfig.py", line 326, in
> _init_posix
> raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: invalid Python installation:
> unable to open /usr/lib/python2.2/config/Makefile (No such file or
> directory)
>
> Any help would be appreciated.
>
> Thanks,
> Chris
>
More information about the MailScanner
mailing list