Gentoo Archives: gentoo-user

From: "Max Zettlmeißl" <max@×××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Q: pp requires --uesr option t hat doesn't exist?
Date: Sun, 24 Dec 2017 21:03:56
Message-Id: CACjvM=cJ9y6LOPpzr8LtqLP=ZZp8QUa0dTtyJ5XRQhO9tdTgRA@mail.gmail.com
In Reply to: [gentoo-user] Q: pp requires --uesr option t hat doesn't exist? by Steven Lembark
1 $ pip install --user awscli
2 or $ pip2.7 install --user awscli works.
3
4 Merry Christmas.
5
6
7 On 24 December 2017 at 21:54, Steven Lembark <lembark@×××××××.com> wrote:
8 >
9 > This should have been simple: Install AWS client command line tools.
10 > Catch: Installing it with AWS' example tells me to use the "--user"
11 > option, though not why, and supplying --user with or without an
12 > argument tells me there is no such switch.
13 >
14 > I'd prefer not maintaining this stuff as SU, rather set up a group
15 > with access to the necessary libarary areas in Python.
16 >
17 > $ pip install awscli
18 > ERROR: (Gentoo) Please run pip with the --user option to avoid breaking python-exec
19 >
20 > $ pip --user install awscli
21 >
22 > Usage:
23 > pip <command> [options]
24 >
25 > no such option: --user
26 >
27 > $ pip --user=lembark install awscli
28 >
29 > Usage:
30 > pip <command> [options]
31 >
32 > no such option: --user
33 >
34 > Examining the output from "pip --help" gives me lots of no "--user"
35 > in the output, which makes sense if there are no users. Using
36 > "--verbose" didn't tell me anything useful either.
37 >
38 > Say I want users in the "adm" group to maintain the Python libs,
39 > I'll need to ( find <someplace> | xargs chgrp adm; find <someplace>
40 > -type d | xargs chmod 02775; find <someplace> -type f | xargs
41 > chmod g+w ).
42 >
43 > Q: Whare are the python lib's stored?
44 >
45 > Python itself only tells me:
46 >
47 > $ python -V
48 > Python 3.4.5
49 >
50 > not the paths.
51 >
52 > Or, for that matter, does anyone know how to avoid the "--user"
53 > requirement using pip?
54 >
55 > thanks
56 >
57 > --
58 > Steven Lembark 1505 National Ave
59 > Workhorse Computing Rockford, IL 61103
60 > lembark@×××××××.com +1 888 359 3508
61 >