Re: Recommendation for installing Python modules: pip or Macports

2022-12-06 Thread Joshua Root
Tom Gederberg 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?

Re: Recommendation for installing Python modules: pip or Macports

2022-12-06 Thread Ralph Seichter via macports-users
* Thomas Gederberg: > 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. The issue with installing Python modules using

Re: Recommendation for installing Python modules: pip or Macports

2022-12-06 Thread Bill Deegan
docker's a heavyweight solution. Use Python's virtualenv. Then you can pip install whatever and not corrupt your macports install. On Tue, Dec 6, 2022 at 7:27 AM David Herron wrote: > Let me recommend Docker. You can use the Python base image, to select > your preferred Python version, and

Re: Recommendation for installing Python modules: pip or Macports

2022-12-06 Thread David Herron
Let me recommend Docker. You can use the Python base image, to select your preferred Python version, and then run pip or pip3 (as appropriate) in the Dockerfile. This way installed dependencies are neatly encapsulated, they do not pollute your host environment, and you have documentation of how

Re: Recommendation for installing Python modules: pip or Macports

2022-12-06 Thread Jeremy Lavergne
Generally, use MacPorts for a newer python/pip and use that pip to install subsequent modules. There are a few cases where you may benefit from MacPorts' pre-compiled c modules, however you won't be able to version-pin dependencies (MacPorts doesn't appear to have this concept). On

Re: Recommendation for installing Python modules: pip or Macports

2022-12-06 Thread Mircea Trandafir
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

Recommendation for installing Python modules: pip or Macports

2022-12-06 Thread Thomas Gederberg
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

Re: Building mupdf (macOS Monterey, clean ports installation) fails

2022-12-06 Thread Gerben Wierda via macports-users
Forget about this one. It is a known problem https://trac.macports.org/ticket/65799 Gerben Wierda (LinkedIn ) R IT Strategy (main site) Book: Chess and the Art of Enterprise Architecture

Building mupdf (macOS Monterey, clean ports installation) fails

2022-12-06 Thread Gerben Wierda via macports-users
I tried to install my standard set of ports after running sudo port -f uninstall installed sudo port -N reclaim So, a clean slate. But it failed for mupdf: :info:build mkdir -p build/shared-release/generated/resources/fonts/noto/ ; /usr/bin/clang -ffunction-sections -fdata-sections -pipe -O2