FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 11-21-2008, 10:01 PM
"Oscar Victorio Calixto Bacho"
 
Default Python-config no help

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

Thanks

Oscar Bacho

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 11-22-2008, 07:03 AM
Toshio Kuratomi
 
Default 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

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 09:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org