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


Groups > comp.lang.python > #80810

Re: Question about installing python and modules on Red Hat Linux 6

Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.067
X-Spam-Evidence '*H*': 0.87; '*S*': 0.00; 'repository': 0.05; 'subject:Question': 0.07; 'admins': 0.09; 'methods,': 0.09; 'subject:modules': 0.09; 'windows,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '2.7': 0.14; 'windows': 0.15; 'easier.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:Hat': 0.16; 'subject:python': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'work,': 0.20; 'cc:addr:python.org': 0.22; 'install': 0.23; 'installation': 0.23; 'effort.': 0.24; 'cc:2**0': 0.24; '15,': 0.26; 'task': 0.26; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'work.': 0.31; 'usually': 0.31; '(maybe': 0.31; 'are.': 0.31; 'ball': 0.31; 'weeks': 0.32; 'linux': 0.33; 'everyone': 0.33; "can't": 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'consistent': 0.36; 'manufacturer': 0.36; 'should': 0.36; 'changing': 0.37; 'wrong': 0.37; 'project': 0.37; 'problems': 0.38; 'manager': 0.38; 'nov': 0.38; 'star': 0.38; 'pm,': 0.38; 'anything': 0.39; 'recent': 0.39; 'sure': 0.39; 'easy': 0.60; 'truly': 0.60; 'tell': 0.60; 'devices': 0.61; 'took': 0.61; 'simply': 0.61; "you're": 0.61; 'first': 0.61; 'save': 0.62; "you'll": 0.62; 'soon': 0.63; 'happen': 0.63; 'grab': 0.64; 'more': 0.64; 'different': 0.65; 'here': 0.66; 'latest': 0.67; 'advantages': 0.68; '"just': 0.84; 'hassle': 0.84; 'subject:Red': 0.84; 'suspicion': 0.84; '"apt- get': 0.91; 'to:none': 0.92; 'optics': 0.93
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:cc :content-type; bh=y8MOCu7sjHCvU7iFtfL9q5XQMD181s/GDjkX0+dOPpA=; b=PunEd4vzq95pRMKeNqvzOnV9drgkHguZALKpU2cIg4TOS3kW5Hc8WTbIyhnjNPtiBI hn0077AnqiGBmyyqdMtB8d/dJnyjV2yRO2YvYT0NU0HQzBqym3QgBHfa1FD4ssSZTDg6 C7aHSpJ+7C/WvXVfIHqC+yosrUeEp7hhxl6NRpkwRCYdEhsJzxcjv8QXcsT3AYs1l0t2 6adEEddjXvMgRpiwsM4++Wor4Tryi7tbDBjyU6A+QK3M6pAfE34yUOnjba63gOtrsKWt HmEKsN6ylS8nd4XPL2NPDBXx8rpZtaJ8Qou3QC8X3FEM4+A/y0BLc4gHbn2S4fuI0jjb E/zQ==
MIME-Version 1.0
X-Received by 10.50.171.193 with SMTP id aw1mr11145153igc.2.1416028191609; Fri, 14 Nov 2014 21:09:51 -0800 (PST)
In-Reply-To <2e88d2e2-bde6-4d8f-8f2f-06d6a9676ee4@googlegroups.com>
References <2e88d2e2-bde6-4d8f-8f2f-06d6a9676ee4@googlegroups.com>
Date Sat, 15 Nov 2014 16:09:51 +1100
Subject Re: Question about installing python and modules on Red Hat Linux 6
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.15844.1416028194.18130.python-list@python.org> (permalink)
Lines 39
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416028194 news.xs4all.nl 2894 [2001:888:2000:d::a6]:45495
X-Complaints-To abuse@xs4all.nl
Path csiph.com!usenet.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Xref csiph.com comp.lang.python:80810

Show key headers only | View raw


On Sat, Nov 15, 2014 at 2:01 PM, pythonista
<software.by.python@gmail.com> wrote:
> The scope of the project was to install python 2.7.8 and 4 modules/site packages on a fresh linux build.
>
> The first team failed after almost 3 weeks of work.
>
> Then  they put their star Linux administrator on the task and it took almost a week of considerable effort.
>
> I was able to perform the same task on my windows desktop in less than a morning.
>
> I cannot get a straight answer as to what the problems are.

Well, you're asking the wrong people. The crystal ball manufacturer
around here is horribly shoddy, shipping us faulty optics and devices
with frequent outages. But if you ask the people who did the work,
they should be able to tell you what was happening.

My suspicion here is that the admins were trying to use multiple
different installation methods, and they ran into issues. This
currently can't happen on Windows, as there simply isn't a
system-provided package manager (though that may be changing - soon
Windows people will have all the same advantages AND disadvantages
that everyone else has!), hence you perhaps found it easier. On my
Debian systems, I can use "apt-get install python python-bs4
python-django" and grab a consistent set of packages from the
OS-provided repositories; or alternatively, I can use pip to get
things from the Python-provided repository (PyPI). Trying to use both
can cause issues.

Want an easy solution? Get a recent Python (preferably 3.x, but
otherwise the latest builds of 2.7 should do I think), get pip, get
virtualenv, and then do everything inside a venv with "pip install"
(maybe using requirements.txt to save you the hassle of keying
everything in). You'll find that that "just works", pretty much all
the time. It's perhaps more work than you truly need (I personally
don't usually bother with a venv), but that way you can be sure you're
not trampling all over anything else.

ChrisA

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


Thread

Question about installing python and modules on Red Hat Linux 6 pythonista <software.by.python@gmail.com> - 2014-11-14 19:01 -0800
  Re: Question about installing python and modules on Red Hat Linux 6 Chris Angelico <rosuav@gmail.com> - 2014-11-15 16:09 +1100
  Re: Question about installing python and modules on Red Hat Linux 6 Cameron Simpson <cs@zip.com.au> - 2014-11-15 16:11 +1100
  Re: Question about installing python and modules on Red Hat Linux 6 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-16 02:15 +1100
    Re: Question about installing python and modules on Red Hat Linux 6 Grant Edwards <invalid@invalid.invalid> - 2014-11-15 15:45 +0000
      Re: Question about installing python and modules on Red Hat Linux 6 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-16 12:08 +1100
        Re: Question about installing python and modules on Red Hat Linux 6 Chris Angelico <rosuav@gmail.com> - 2014-11-16 12:32 +1100
        Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 18:57 -0700
        Re: Question about installing python and modules on Red Hat Linux 6 Chris Angelico <rosuav@gmail.com> - 2014-11-16 13:23 +1100
        Re: Question about installing python and modules on Red Hat Linux 6 Grant Edwards <invalid@invalid.invalid> - 2014-11-16 16:28 +0000
          Re: Question about installing python and modules on Red Hat Linux 6 Chris Angelico <rosuav@gmail.com> - 2014-11-17 09:16 +1100
    Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 10:05 -0700
  Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 10:02 -0700
  Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 10:13 -0700
  Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 10:23 -0700

csiph-web