[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Python-config no help



Oscar Victorio Calixto Bacho wrote:
> Hi Guys
> 
> One python newby question
> 
> why /usr/bin/python-config --help say this
> 
> Traceback (most recent call last):
>   File "/usr/bin/python2.5-config", line 26, in <module>
>     pyver = sysconfig.get_config_var('VERSION')
>   File "/usr/lib/python2.5/distutils/sysconfig.py", line 535, in
> get_config_var
>     return get_config_vars().get(name)
>   File "/usr/lib/python2.5/distutils/sysconfig.py", line 493, in
> get_config_vars
>     func()
>   File "/usr/lib/python2.5/distutils/sysconfig.py", line 352, in _init_posix
>     raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: invalid Python installation:
> unable to open /usr/lib/python2.5/config/Makefile (No such file or
> directory)
> 
> This is correct
> 
You need to
yum -y install python-devel

Unless upstream python fixes:
  http://bugs.python.org/issue4359

-Toshi

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]