[Qgis-user] QGIS 4 Mac - Install additional python packages

Josh Mawer jmawer at fastmail.com
Sun Mar 15 17:31:25 PDT 2026


Excellent, thank you.  That did the trick.

On Mon, 16 Mar 2026, at 1:14 PM, Lorenzo Moretti wrote:
> Hi Josh
> 
> I add many libraries in this way. Open Terminal and enter:
> 
> % /Applications/QGIS.app/Contents/MacOS/python -m pip install scipy plotly pandas matplotlib colorama scikit-learn astropy PyOpenGL xgboost lightgbm numba netCDF4
> 
> 
> 
> Lorenzo
> 
>> Il giorno 13 mar 2026, alle ore 01:21, Josh Mawer via QGIS-User <qgis-user at lists.osgeo.org> ha scritto:
>> 
>> Hi QGIS User List,
>> 
>> I am developing a python based QGIS processing script which is working great on a Windows installation.  However, when I try to run it on my Mac I get an error stating the Matplotlib package is not installed in the python environment.
>> 
>> How can I install additional packages into the QGIS python environment?  I have found a few old StackOverflow threads mentioning installing via Pip3 from within the QGIS Application Package.  However, Pip3 doesn't seem to be contained there any more.
>> 
>> Any thoughts? Thanks,
>> _______________________________________________
>> QGIS-User mailing list
>> QGIS-User at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20260316/5a555465/attachment.htm>


More information about the QGIS-User mailing list