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


Groups > linux.debian.user > #220858

Re: python3 modules -- apt vs pip?

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: python3 modules -- apt vs pip?
Date 2020-04-04 08:40 +0200
Message-ID <zRKDf-5w8-3@gated-at.bofh.it> (permalink)
References <zRCPo-Nb-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Vi, 03 apr 20, 15:54:31, Joe Pfeiffer wrote:
> I've been using apt (and friends) to maintain my systems, including
> python.  Today I discovered the Debian version of the more-itertools
> module is on version 4.2.0 and is three years old.  Meanwhile, the
> version documented on pypi.org is at version 8.2.0, and has at least one
> recipe whose arguments  are in a different order from the Debian
> packaged version (grouper, whose order of arguments changed in version
> 6.0.0).  This causes problems, as you might imagine, with other modules!
> 
> So... do people generally use pip to maintain their python libraries,
> rather than apt?  What's the recommended best practices here?
 
Depends on what you want to achieve. There was a recent discussion 
regarding Ruby gems, the same general principles should apply to Python. 

https://lists.debian.org/debian-user/2020/03/msg00950.html

The methods to have separate Python modules and / or version installed 
might differ.


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

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