On Mon, 16 Nov 2020 10:26:35 -0700
Roger Koehler via blfs-support
<[email protected]> wrote:

> On Mon, Nov 16, 2020 at 10:09 AM Scott Andrews via blfs-support
> <[email protected]> wrote:
> >
> > On Mon, 16 Nov 2020 09:40:53 -0700
> > Roger Koehler via blfs-support
> > <[email protected]> wrote:
> >  
> > > This is new:
> > >
> > > MarkupSafe-1.1.1.tar.gz: OK
> > > Traceback (most recent call last):
> > >   File "setup.py", line 10, in <module>
> > >     from setuptools import Extension
> > > ImportError: No module named setuptools
> > >
> > > Roger  
> >
> > sudo find / -name setuptools
> > /usr/lib/python3.7/site-packages/setuptools
> >
> > When I have that that issue, I have not built Python correctly.
> >
> > Rebuilding python with openssl has fixed this for me.
> >
> > Python must be built with openssl  
> 
> Another case of not reading the book:
> 
> --with-ensurepip=yes : This switch enables building pip and setuptools
> packaging programs. setuptools is needed for
>    building some Python modules.
> 
> Sorry for the noise.
> Roger

If you have --with-ensurepip=yes and openssl is not installed you will
still not build pip and setuptools.

Python now requires openssl to download, install and verify python
modules as it needs.

Seek clarification on the python home page docs.

I was trying to eliminate openssl in the base build, and onw cam only
do that if you want a stand alone python that will not download python
modules, ie you would have to manually need to build and install them
when they are needed.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to