Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #62150

Re: Installing Python from sources with all the modules

References <CAO_L6qGUnWigCLZsVwS6SjdvBk7iBXabJmchG0=8KdS4d2Gziw@mail.gmail.com>
Date 2013-12-16 23:26 -0500
Subject Re: Installing Python from sources with all the modules
From David Robinow <drobinow@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4259.1387254804.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, Dec 16, 2013 at 8:55 PM, shankha <shankhabanerjee@gmail.com> wrote:
> Hi,
> I am trying to install Python 3.3 from the latest sources on linux.
>
> After the installation when I try to run the following I get a error:
>
> ./python
> Python 3.3.3 (default, Dec 16 2013, 18:28:25)
> [GCC 4.8.2 20131017 (Red Hat 4.8.2-1)] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import ssl
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/home/shankha/Python-git/Python3-3/Python-3.3.3/Lib/ssl.py", line
> 60, in <module>
>     import _ssl             # if we can't import it, let the error propagate
> ImportError: No module named '_ssl'
>
>
> Is there a way while installing from sources I enable all modules to be
> installed.


You need to install the openssl development package. I don't know how
you do that on Red Hat.  Don't use it myself.
 There will probably be other missing modules for which you will have
to install prerequisites for. Once you do that they should build
automatically when you rebuild.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Installing Python from sources with all the modules David Robinow <drobinow@gmail.com> - 2013-12-16 23:26 -0500

csiph-web