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


Groups > comp.lang.python > #62150 > unrolled thread

Re: Installing Python from sources with all the modules

Started byDavid Robinow <drobinow@gmail.com>
First post2013-12-16 23:26 -0500
Last post2013-12-16 23:26 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#62150 — Re: Installing Python from sources with all the modules

FromDavid Robinow <drobinow@gmail.com>
Date2013-12-16 23:26 -0500
SubjectRe: Installing Python from sources with all the modules
Message-ID<mailman.4259.1387254804.18130.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web