Recommendation for installing Python modules: pip or Macports

Mircea Trandafir tramir at hotmail.com
Tue Dec 6 13:54:28 UTC 2022


Not a heavy user of python, but a "quick and dirty" answer would be: installing and updating via pip might give you the latest version faster, but you need to remember to check for updates via pip. Installing via MacPorts would allow you to update python packages together with everything else when you do your regular (I suppose you do that, right?) “port selfupdate”. Also, when updates are pushed via MacPorts they are typically tested and should work…

--
Mircea Trandafir
Senior researcher
Rockwool Foundation Research Unit
Ny Kongensgade 6
DK 1472, Copenhagen
Denmark
Web: http://www.mirceatrandafir.com

On 6 Dec 2022, at 1.53 PM, Thomas Gederberg <tgederberg at sbcglobal.net> wrote:

It appears that you can either install Python modules (py310-matplotlib, py310-numpy, etc) either directly from MacPorts or you can install pip (for example py30-pip) with MacPorts and then use pip to install the modules.

Is there a recommendation on which way to go?

Tom Gederberg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20221206/d42b67a2/attachment.htm>


More information about the macports-users mailing list