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


Groups > comp.lang.python > #99482

Help needed with compiling python

Path csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.python
Subject Help needed with compiling python
Date Wed, 25 Nov 2015 21:23:05 +0100
Organization Decebal Computing
Lines 28
Message-ID <877fl596c6.fsf@Equus.decebal.nl> (permalink)
Mime-Version 1.0
Content-Type text/plain
Injection-Info mx02.eternal-september.org; posting-host="528adfd6ad074c92fdc6a7f8fb9e23d8"; logging-data="12932"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+88zawQdk+ntqUyIM8GRuUiO/JTgXNrHc="
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
X-Homepage http://www.decebal.nl/
Cancel-Lock sha1:GWoSOoezxcwtAvwomuydRzrGeV0= sha1:NUVbihzD70UIOPlGTrDPwRBKUzs=
Xref csiph.com comp.lang.python:99482

Show key headers only | View raw


I wanted to install python myself. I started with 2.7.10. If that
works I also will install 3.5.0.

I did:
    ./configure --prefix=/usr
    make
    make altinstall

I have:
    /usr/bin/python2.7

But when I execute this, I get:
    Could not find platform dependent libraries <exec_prefix>
    Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
    Python 2.7.10 (default, Nov 25 2015, 20:58:29) 
    [GCC 4.8.5] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    Traceback (most recent call last):
      File "/etc/pythonstart", line 7, in <module>
        import readline
    ImportError: No module named readline

What do I need to do to get it working?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

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


Thread

Help needed with compiling python Cecil Westerhof <Cecil@decebal.nl> - 2015-11-25 21:23 +0100
  Re: Help needed with compiling python Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-11-25 14:49 -0600
    Re: Help needed with compiling python Cecil Westerhof <Cecil@decebal.nl> - 2015-11-25 22:52 +0100
      Re: Help needed with compiling python Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-11-25 16:39 -0600
        Re: Help needed with compiling python Cecil Westerhof <Cecil@decebal.nl> - 2015-11-26 07:55 +0100
      Re: Help needed with compiling python Laura Creighton <lac@openend.se> - 2015-11-25 23:58 +0100
        Re: Help needed with compiling python Cecil Westerhof <Cecil@decebal.nl> - 2015-11-26 08:00 +0100
          Re: Help needed with compiling python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-11-26 19:29 +1100
            Re: Help needed with compiling python Cecil Westerhof <Cecil@decebal.nl> - 2015-11-26 22:33 +0100
              Re: Help needed with compiling python Kev Dwyer <kevin.p.dwyer@gmail.com> - 2015-11-27 06:46 +0000
          Re: Help needed with compiling python Dave Farrance <df@see.replyto.invalid> - 2015-11-26 11:07 +0000
            Re: Help needed with compiling python Cecil Westerhof <Cecil@decebal.nl> - 2015-11-26 22:39 +0100
              Re: Help needed with compiling python Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-11-26 23:48 -0600

csiph-web