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


Groups > linux.debian.user > #221007

Re: python3 modules -- apt vs pip?

From Anil F Duggirala <anilduggirala@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: python3 modules -- apt vs pip?
Date 2020-04-06 17:20 +0200
Message-ID <zSBHz-4mh-1@gated-at.bofh.it> (permalink)
References <zRCPo-Nb-9@gated-at.bofh.it> <zRMYq-746-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> Python provides virtualenv, plus one can install most of the modules
> locally with pip3 install --user <blabla> which will install the
> modules
> in ~/.local/lib and tools in ~/.local/bin, so don't forget to add
> this
> to your PATH.
> 

Could you please explain (to a newbie) exactly what are the advantages
of using the --user option and the possible drawbacks as well? please
Could you tell me why I wouldn't want to use a virtualenv? Is it just
because of the pain of having to activate this virtualenv every time I
want to use those modules? or am I losing any other functionality
provided by my system-wide python?
I am surprised this question was asked 2 days ago, I had the exact same
question today. The numpy module is on version 1.16.2 in the debian
repositories and is on version 1.18.2 in pip.
thank you,

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

python3 modules -- apt vs pip? Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2020-04-04 00:20 +0200
  Re: python3 modules -- apt vs pip? thierry.leurent <thierry.leurent@asgardian.be> - 2020-04-04 08:00 +0200
  Re: python3 modules -- apt vs pip? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-04 08:40 +0200
  Re: python3 modules -- apt vs pip? Nemeth Gyorgy <lists@friczy.net> - 2020-04-04 10:30 +0200
  Re: python3 modules -- apt vs pip? Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2020-04-04 11:10 +0200
    Re: python3 modules -- apt vs pip? Keith Christian <keith1christian@gmail.com> - 2020-04-04 16:40 +0200
    Re: python3 modules -- apt vs pip? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-04 18:30 +0200
    Re: python3 modules -- apt vs pip? Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2020-04-04 19:20 +0200
    Re: python3 modules -- apt vs pip? Anil F Duggirala <anilduggirala@fastmail.fm> - 2020-04-06 17:20 +0200
      Re: python3 modules -- apt vs pip? Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2020-04-06 21:20 +0200
      When should I install my own language and library versions? Dan Ritter <dsr@randomstring.org> - 2020-04-06 21:40 +0200
        Re: When should I install my own language and library versions? Simeone Dominique <dominique.simeone@yahoo.fr> - 2020-04-06 22:30 +0200

csiph-web