distutils working only with python-devel

4 messages Options
Embed this post
Permalink
Kamil Paral

distutils working only with python-devel

Reply Threaded More More options
Print post
Permalink
When you try to use distutils to install python module or
application, you receive a following error:

# python setup.py install
running install
error: invalid Python installation: unable to open /usr/lib64/python2.6/config/Makefile (No such file or directory)
#

The problem is that you don't have python-devel package
installed. My question is - is that right? Why should a
common user install devel packages to be able to install
python apps? Not mentioning cryptic error message (not
everyone will guess that).

Similar problem is for easy_install, it is located in the
python-setuptools-devel package.

I have looked at Ubuntu, the no problems there, everything
needed in non-devel packages.

Thanks for comments.

--
fedora-test-list mailing list
[hidden email]
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-test-list
Kamil Paral

Re: distutils working only with python-devel

Reply Threaded More More options
Print post
Permalink
----- "Kamil Paral" <[hidden email]> wrote:

> When you try to use distutils to install python module or
> application, you receive a following error:
>
> # python setup.py install
> running install
> error: invalid Python installation: unable to open
> /usr/lib64/python2.6/config/Makefile (No such file or directory)
> #
>

Ouch, of course I have written an email first and only after
that found it in the bugzilla!
https://bugzilla.redhat.com/show_bug.cgi?id=64302
https://bugzilla.redhat.com/show_bug.cgi?id=66707
https://bugzilla.redhat.com/show_bug.cgi?id=120879

Twice denied, once fixed. And still broken :)

--
fedora-test-list mailing list
[hidden email]
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-test-list
David Malcolm

Re: distutils working only with python-devel

Reply Threaded More More options
Print post
Permalink
On Thu, 2009-11-05 at 09:22 -0500, Kamil Paral wrote:

> ----- "Kamil Paral" <[hidden email]> wrote:
>
> > When you try to use distutils to install python module or
> > application, you receive a following error:
> >
> > # python setup.py install
> > running install
> > error: invalid Python installation: unable to open
> > /usr/lib64/python2.6/config/Makefile (No such file or directory)
> > #
> >
>
> Ouch, of course I have written an email first and only after
> that found it in the bugzilla!
> https://bugzilla.redhat.com/show_bug.cgi?id=64302
> https://bugzilla.redhat.com/show_bug.cgi?id=66707
> https://bugzilla.redhat.com/show_bug.cgi?id=120879
>
> Twice denied, once fixed. And still broken :)

I hope I fixed this last week; does 2.6.4-2 fix this for you?

* Thu Oct 29 2009 David Malcolm <[hidden email]> - 2.6.4-2
- "Makefile" and the config-32/64.h file are needed by distutils/sysconfig.py
_init_posix(), so we include them in the core package, along with their parent
directories (bug 531901)

Fourth time may be the charm :-)

BTW, please remember to give the version of the rpm you're running when
sending such emails.  I saw that you did in your bugzilla report (bug
533341) - thanks!

Hope this is helpful
Dave

--
fedora-test-list mailing list
[hidden email]
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-test-list
Kamil Paral

Re: distutils working only with python-devel

Reply Threaded More More options
Print post
Permalink
In reply to this post by Kamil Paral
----- "David Malcolm" <[hidden email]> wrote:

>
> I hope I fixed this last week; does 2.6.4-2 fix this for you?
>
> * Thu Oct 29 2009 David Malcolm <[hidden email]> - 2.6.4-2
> - "Makefile" and the config-32/64.h file are needed by
> distutils/sysconfig.py
> _init_posix(), so we include them in the core package, along with
> their parent
> directories (bug 531901)
>
> Fourth time may be the charm :-)
>

Hello,
it seems to be fixed now.

Thanks,
Kamil

--
fedora-test-list mailing list
[hidden email]
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-test-list