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

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <drobinow@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; '16,': 0.03; 'subject:Python': 0.06; 'error:': 0.07; 'importerror:': 0.07; 'installed.': 0.07; 'skip:" 60': 0.07; 'propagate': 0.09; 'subject:modules': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; './python': 0.16; '60,': 0.16; 'wrote:': 0.18; 'module': 0.19; 'trying': 0.19; 'import': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'installation': 0.23; 'error': 0.23; 'package.': 0.24; 'ssl': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; '"",': 0.31; '>>>>': 0.31; 'linux.': 0.31; 'file': 0.32; 'probably': 0.32; 'subject:all': 0.32; 'run': 0.32; 'linux': 0.33; '(most': 0.33; 'sources': 0.33; 'subject:the': 0.34; 'subject:from': 0.34; 'subject:with': 0.35; "can't": 0.35; 'received:google.com': 0.35; 'there': 0.35; 'installing': 0.36; 'hi,': 0.36; 'should': 0.36; 'hat': 0.38; 'pm,': 0.38; 'recent': 0.39; 'how': 0.40; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'latest': 0.67; '2013,': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MBC0O+RhxWhcbtsNxId9KaTrl/AAkoQ2AApSaSfNv7I=; b=CvDeXNqOJufcObDIogADc+VEh2MegVDJKYGDf3PWJ2yq6bgKtHx7zb67H8X4JxEtv9 rxi9GHbwnBNLTCAfInWNlnKjxD3Qrcu+fMW0Ys/HRTOiakJWQIS0f5Px/POysybXXSqL KSJHTi9NwHzErSm09ZfezwNSLoMk+6jkJoxYK8q7bUhEN8SSsYWgPEFRz4b64xWdGgUX sn/GuuYF9uIy7XuEcNeCFjfEH+lC+ZxClA6EsuKRD7CvJWOAVpwGMbUGUkT78trHEONZ 4Y1ejkOqKvCnbn0pLfBamNhqGwhIqyPWDf1q70nza5qfH5ugaVyLAXCKJe5Qmj6NMMha ajFw==
MIME-Version 1.0
X-Received by 10.60.39.99 with SMTP id o3mr14550435oek.49.1387254369121; Mon, 16 Dec 2013 20:26:09 -0800 (PST)
In-Reply-To <CAO_L6qGUnWigCLZsVwS6SjdvBk7iBXabJmchG0=8KdS4d2Gziw@mail.gmail.com>
References <CAO_L6qGUnWigCLZsVwS6SjdvBk7iBXabJmchG0=8KdS4d2Gziw@mail.gmail.com>
Date Mon, 16 Dec 2013 23:26:09 -0500
Subject Re: Installing Python from sources with all the modules
From David Robinow <drobinow@gmail.com>
To shankha <shankhabanerjee@gmail.com>
Content-Type text/plain; charset=UTF-8
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4259.1387254804.18130.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1387254804 news.xs4all.nl 2863 [2001:888:2000:d::a6]:48736
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:62150

Show key headers only | 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