Ask Your Question

Are missing package requirements a bug?

asked 2018-06-24 09:02:32 -0500

I have recently started playing with python3. I have installed python3-pip and there are no errors, but when I try to use it, e.g. pip3 install --user vpython

there are gcc errors because of missing files. Two additional packages are required to get pip3 to succeed: python3-devel and redhat-rpm-config. Shouldn't these two packages be included as requirements in the python3-pip rpm? In other words, is this considered a bug in the package, or just an unfortunate fact of life with rpms?

This does not happen with the equivalent rpm in openSUSE Tumbleweed.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2018-06-24 09:15:46 -0500

Aeyoun gravatar image

No. It’s not the package you installed via Fedora that require these extra packages; it’s the software you’re truing to install via pip. Pip is a separate package system entirely, and it doesn’t really handle non-Python package dependencies. You have to install these dependencies manually.

edit flag offensive delete link more


As noted above, I submitted a bug report anyway. Curious that it happens on Fedora and not other distros that I tried.

Jim O gravatar imageJim O ( 2018-06-24 10:53:38 -0500 )edit

That might be because the other distros you tried don't split Python headers off into a separate devel package. I believe that is the case in Arch Linux at least.

carlwgeorge gravatar imagecarlwgeorge ( 2018-11-17 18:37:15 -0500 )edit

answered 2018-06-24 09:17:46 -0500

villykruse gravatar image

Submit a Bugzilla bug report and see what happens.

For all the pip packages which don't contain C sources, you would not need the python3-devel package, nor the gcc compiler or any other -devel package. Thus one could argue that it is the particular pip package (vpython) which requires python3-devel, the gcc compiler, and the glibc-devel packages plus maybe a more *-devel packages.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-06-24 09:02:32 -0500

Seen: 76 times

Last updated: Jun 24 '18