From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2F9031396DF for ; Sun, 24 Dec 2017 21:03:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86C51E1048; Sun, 24 Dec 2017 21:03:50 +0000 (UTC) Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2EE8BE103A for ; Sun, 24 Dec 2017 21:03:49 +0000 (UTC) Received: by mail-it0-x230.google.com with SMTP id z6so19243311iti.4 for ; Sun, 24 Dec 2017 13:03:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zettlmeissl.de; s=default; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=dygG3Zq00UpUxBAu4POQdhZjvSC/asnx8+n//XWQUzw=; b=NSvVeKdgHwzomQA3k/I8sSNXidqE8EjQBkv1gRzyP05S9lqho7FgtRNAFMtJz/fRZI ccYNxgOKJup202kjtoYOqClXixFl9johzVo+VOyV/E4fS/HbNVJixWtKqelYKlwJ9Rqp /HlqU9B9Z4H1kI+bSdFy7Pvf+2mTp4oA8v04aflUio9enMXplYtX2pv4Aud0K+F5TJp1 9tk9zwUkmG2dLL+kj2fSjyN1BR0Tol8thqawVears86Q6l1YYCbT2zMhHfusVFaEcMrC wJr28xfleNbCsrurLjCyFkt8N4EP2Ii5WDz8OnuXzBdjoutjpNROnucfVt80/2DBv+vZ Fqvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=dygG3Zq00UpUxBAu4POQdhZjvSC/asnx8+n//XWQUzw=; b=R0qGjFFxmLBhoe92PKjjwfKOOXBCEmPuwgrmY3FwlTQtpP6HU6M6iXUBWFinLGH7Yb f9NQaK2YzwXUsFs79JevuXiUuBw4lQHCLVwbEtLH7uzb0RfF6LU3JkbbrbHWzzsUNETi 7J/kw5R1dtci/rXcbOvhna+YCy6SzPeZ7Ua9WSnyRO1bBdpUigS4cq1i+u3b86/Ym8Ih 1okWeEMqGDIbWwBoz5nKCSRP1zLRR1v1G26EYtZgNN+jXTF8scsKL0Iyykwita07Q0VX 0Gdm3Nw1iD+0vfUJwl7emS/eq8Ih9IOhUSP9Ab6b7OD6uHZVYD9xIx0LKjb+/1m8rXlo Az2g== X-Gm-Message-State: AKGB3mIrpXuob3C/U6ZyMFUahxbap51hJvBjqxx8Qw+AyUN7rdRJnMPo BGWLCMrXmBGiVPKTWoMZBA7znUko X-Google-Smtp-Source: ACJfBosOeSb0A+HKKpPRyrdJ/GkkZAw4ij5wLGnTHjUefez9ZyWoXLTSFzqHGGfAqnh+Hf0buOMYUQ== X-Received: by 10.36.160.68 with SMTP id o65mr27656441ite.45.1514149428771; Sun, 24 Dec 2017 13:03:48 -0800 (PST) Received: from mail-io0-f169.google.com (mail-io0-f169.google.com. [209.85.223.169]) by smtp.gmail.com with ESMTPSA id 189sm7550205iof.72.2017.12.24.13.03.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Dec 2017 13:03:48 -0800 (PST) Received: by mail-io0-f169.google.com with SMTP id w127so29411536iow.11 for ; Sun, 24 Dec 2017 13:03:48 -0800 (PST) X-Received: by 10.107.34.139 with SMTP id i133mr27534869ioi.146.1514149427806; Sun, 24 Dec 2017 13:03:47 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.79.7.141 with HTTP; Sun, 24 Dec 2017 13:03:47 -0800 (PST) In-Reply-To: <20171224145406.392a1cbe@wrkhors.com> References: <20171224145406.392a1cbe@wrkhors.com> From: =?UTF-8?Q?Max_Zettlmei=C3=9Fl?= Date: Sun, 24 Dec 2017 22:03:47 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-user] Q: pp requires --uesr option t hat doesn't exist? To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: c24d4d97-6f7e-41f4-bed8-3783353cef75 X-Archives-Hash: 2f0c45282bdcd8123101cee45868b7a1 $ pip install --user awscli or $ pip2.7 install --user awscli works. Merry Christmas. On 24 December 2017 at 21:54, Steven Lembark wrote: > > This should have been simple: Install AWS client command line tools. > Catch: Installing it with AWS' example tells me to use the "--user" > option, though not why, and supplying --user with or without an > argument tells me there is no such switch. > > I'd prefer not maintaining this stuff as SU, rather set up a group > with access to the necessary libarary areas in Python. > > $ pip install awscli > ERROR: (Gentoo) Please run pip with the --user option to avoid breaking python-exec > > $ pip --user install awscli > > Usage: > pip [options] > > no such option: --user > > $ pip --user=lembark install awscli > > Usage: > pip [options] > > no such option: --user > > Examining the output from "pip --help" gives me lots of no "--user" > in the output, which makes sense if there are no users. Using > "--verbose" didn't tell me anything useful either. > > Say I want users in the "adm" group to maintain the Python libs, > I'll need to ( find | xargs chgrp adm; find > -type d | xargs chmod 02775; find -type f | xargs > chmod g+w ). > > Q: Whare are the python lib's stored? > > Python itself only tells me: > > $ python -V > Python 3.4.5 > > not the paths. > > Or, for that matter, does anyone know how to avoid the "--user" > requirement using pip? > > thanks > > -- > Steven Lembark 1505 National Ave > Workhorse Computing Rockford, IL 61103 > lembark@wrkhors.com +1 888 359 3508 >