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 575391396DF for ; Sun, 24 Dec 2017 20:54:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A232E0F97; Sun, 24 Dec 2017 20:54:13 +0000 (UTC) Received: from jeeves.wrkhors.com (23-25-19-49-static.hfc.comcastbusiness.net [23.25.19.49]) by pigeon.gentoo.org (Postfix) with ESMTP id 060FCE0E93 for ; Sun, 24 Dec 2017 20:54:12 +0000 (UTC) Received: from wrkhors.com (localhost [127.0.0.1]) by jeeves.wrkhors.com (Postfix) with ESMTP id 427AE10EDE8; Sun, 24 Dec 2017 14:54:12 -0600 (CST) Date: Sun, 24 Dec 2017 14:54:06 -0600 From: Steven Lembark To: gentoo-user@lists.gentoo.org Cc: lembark@wrkhors.com Subject: [gentoo-user] Q: pp requires --uesr option t hat doesn't exist? Message-ID: <20171224145406.392a1cbe@wrkhors.com> Organization: Workhorse Computing 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 2ea7538c-c437-4c80-9bd7-f128d0172e99 X-Archives-Hash: e9053d245279b2f379048724576891ec 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