Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #74931
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <bdastur@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.019 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.06; '(python': 0.07; 'error:': 0.07; 'importerror:': 0.07; 'python': 0.11; '66,': 0.16; '_sha256': 0.16; 'setuptools': 0.16; 'subject:2.6.2': 0.16; 'folder': 0.16; 'module': 0.19; 'trying': 0.19; 'later': 0.20; 'machine': 0.22; 'import': 0.22; 'install': 0.23; 'installation': 0.23; 'skip:" 40': 0.26; 'skip:_ 20': 0.27; 'installed': 0.27; 'message-id:@mail.gmail.com': 0.30; 'went': 0.31; '"': 0.31; 'fine,': 0.31; 'libraries': 0.31; 'question:': 0.31; 'file': 0.32; 'another': 0.32; 'noticed': 0.34; 'skip:_ 10': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'found.': 0.36; 'installing': 0.36; 'skip:- 20': 0.37; 'skip:& 10': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'skip:_ 30': 0.39; 'does': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'manually': 0.60; 'due': 0.66; 'details:': 0.80; './configure': 0.84; '138,': 0.84; 'skip:/ 30': 0.84; 'sincere': 0.96 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pB0aeihSm8cEBNBxghAZmUML7XmHRHtb1pDxeE83tb0=; b=C+YynDiAXgkdrBYlzY4sPwPZKhKaRZpflSu5M/HZBJWQkVSYG3+78MbBDo/e8nELhR 3TTDsd7j1sFcARqg2l71aJ87ES/KXmvLOH3jJJ2+MEcEi7Tqn1m4DU2VvELMKuco6LyN 1tnw1A1TzT1SOUOsr2wA9nfJHQtYYipGVTpZnC7tiikN2VsRFSYl+qZBRVxGTVkVJHzM fRrMDh5/4I9+7WisV34OeM+KBUl441bl05qC8zDb6sZ/yA2jU7//XyZSlKntj9W4YLMf kv2OyXegGVhVsEAo3pe8Hhks1SW9UrYO2fDRg26D/dIc5P2s8nC0Fm1CHRHXw/ypoucL Zgsg== |
| MIME-Version | 1.0 |
| X-Received | by 10.194.177.168 with SMTP id cr8mr15081916wjc.134.1405960578670; Mon, 21 Jul 2014 09:36:18 -0700 (PDT) |
| Date | Mon, 21 Jul 2014 09:36:18 -0700 |
| Subject | Installing Python 2.6.2 on Ubuntu 12.1 |
| From | Behzad Dastur <bdastur@gmail.com> |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=089e013d1d9edc887d04feb6b473 |
| X-Mailman-Approved-At | Mon, 21 Jul 2014 18:54:24 +0200 |
| 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.12136.1405961665.18130.python-list@python.org> (permalink) |
| Lines | 155 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1405961665 news.xs4all.nl 2944 [2001:888:2000:d::a6]:54570 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:74931 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Question: How to install Python manually and make sure that all the
necessary modules and .so files get built (eg: _sha256.so, zlib.so)
Details:
I am trying to install Python2.6.2 version manually, installation goes
through fine, but later installing setuptools fails due to _sha256 Module
not found.
These are the steps I did for manually installing python in my private
folder:
1. ./configure --help
2. ./configure --prefix=/home/brd/priv_env
3. make; make install
The installation went through successfully, however I noticed that some of
the _*.so files did not get built under lib/python2.6/lib-dynload/ folder
(eg _sha256.so) , which is likely the reason why my setuptools install
failed due to the error:
"
File "/home/cisco/priv_env/lib/python2.6/hashlib.py", line 138, in
<module>
sha224 = __get_builtin_constructor('sha224')
File "/home/cisco/priv_env/lib/python2.6/hashlib.py", line 66, in
__get_builtin_constructor
import _sha256
ImportError: No module named _sha256"
Note that I have the necessary libraries installed on this machine eg:
libzlib.so, libssl.so
/usr/lib/x86_64-linux-gnu/libssl.so
/usr/lib/x86_64-linux-gnu/libssl3.so
/usr/lib/x86_64-linux/gnu/libz.so.1
Another note, is that the standard python installation on this system
(Python 2.7.3), does not have this problem, and has all the modules and .so
files built.
Sincere Regards,
Behzad
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Installing Python 2.6.2 on Ubuntu 12.1 Behzad Dastur <bdastur@gmail.com> - 2014-07-21 09:36 -0700 Re: Installing Python 2.6.2 on Ubuntu 12.1 Miki Tebeka <miki.tebeka@gmail.com> - 2014-07-21 22:05 -0700
csiph-web