Installing on linux - missing devel packages

Zachary Ware zachary.ware+pylist at gmail.com
Thu Jan 21 10:52:47 EST 2016


On Thu, Jan 21, 2016 at 1:18 AM, Frank Millman <frank at chagford.com> wrote:
> Hi all
>
> Fedora 22 comes standard with Python 3.4.2. I want to install 3.5.1.
>
> It is easy enough to download the source and run ./configure;make;make
> altinstall. But then I find that I cannot import gzip because zlib-devel is
> missing. I fix that, then I find that sqlite-devel is missing.
>
> Is there an easy way to find out all the missing components, so that when
> the installation is complete I can be sure I have the entire standard lib?

Other answers have given you the proper way to quickly get all the
build dependencies.  In order to see what modules you won't have
available, look at the output near the end of the 'make' command (it's
very quickly buried by `make altinstall`, so be sure to do those as
separate commands :)).  Most of the extension modules are built by
setup.py, which gives a report at the end of its run about which
modules it couldn't find dependencies for, which modules couldn't be
built, and which modules built but couldn't be imported.

-- 
Zach



More information about the Python-list mailing list