public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Q: pp requires --uesr option t hat doesn't exist?
@ 2017-12-24 20:54 Steven Lembark
  2017-12-24 21:03 ` Max Zettlmeißl
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Lembark @ 2017-12-24 20:54 UTC (permalink / raw
  To: gentoo-user; +Cc: lembark


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 <command> [options]

no such option: --user

$ pip --user=lembark install awscli

Usage:   
  pip <command> [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 <someplace> | xargs chgrp adm; find <someplace>
-type d | xargs chmod 02775; find <someplace> -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 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Q: pp requires --uesr option t hat doesn't exist?
  2017-12-24 20:54 [gentoo-user] Q: pp requires --uesr option t hat doesn't exist? Steven Lembark
@ 2017-12-24 21:03 ` Max Zettlmeißl
  0 siblings, 0 replies; 2+ messages in thread
From: Max Zettlmeißl @ 2017-12-24 21:03 UTC (permalink / raw
  To: gentoo-user

$ pip install --user awscli
or $ pip2.7 install --user awscli works.

Merry Christmas.


On 24 December 2017 at 21:54, Steven Lembark <lembark@wrkhors.com> 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 <command> [options]
>
> no such option: --user
>
> $ pip --user=lembark install awscli
>
> Usage:
>   pip <command> [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 <someplace> | xargs chgrp adm; find <someplace>
> -type d | xargs chmod 02775; find <someplace> -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
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-12-24 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-24 20:54 [gentoo-user] Q: pp requires --uesr option t hat doesn't exist? Steven Lembark
2017-12-24 21:03 ` Max Zettlmeißl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox