[MacPorts] #68016: qgis3-ltr @3.28.9: Multiple Python errors
MacPorts
noreply at macports.org
Sun Aug 27 22:11:41 UTC 2023
#68016: qgis3-ltr @3.28.9: Multiple Python errors
---------------------+----------------------
Reporter: dlejay | Owner: Veence
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qgis3 |
---------------------+----------------------
Comment (by nilason):
>
> Last popup →
>
> {{{
> Couldn't load plugin 'rasterdataplotting'
>
> ModuleNotFoundError: No module named 'scipy'
> Traceback (most recent call last):
> File
"/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 401, in loadPlugin
> __import__(packageName)
> File
"/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 888, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/Users/damien/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/__init__.py",
line 2, in
> from .rasterdataplotting.plugin import RdpPlugin
> File
"/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 888, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/Users/damien/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/plugin.py",
line 4, in
> from .core.rdpinterface import RdpInterface
> File
"/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 888, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/Users/damien/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/core/rdpinterface.py",
line 14, in
> from ..gui.rdpdockwidget import RdpDockWidget
> File
"/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 888, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/Users/damien/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpdockwidget.py",
line 8, in
> from .rdpscatterplotwidget import RdpScatterPlotWidget
> File
"/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 888, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/Users/damien/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py",
line 6, in
> from scipy.stats import binned_statistic_2d, pearsonr
> File
"/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 888, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> ModuleNotFoundError: No module named 'scipy'
>
>
> Python version: 3.11.4 (main, Jun 10 2023, 09:42:27) [Clang 14.0.3
(clang-1403.0.22.14.1)]
> QGIS version: 3.28.9-Firenze Firenze, exported
>
> Python Path:
> /Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python
> /Users/damien/Library/Application
Support/QGIS/QGIS3/profiles/default/python
> /Users/damien/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins
>
/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/plugins
>
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python311.zip
>
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
>
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/lib-dynload
> /Users/damien/Library/Python/3.11/lib/python/site-packages
>
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages
> /Users/damien/Library/Application
Support/QGIS/QGIS3/profiles/default/python
> }}}
Try {{{sudo port install py311-scipy}}}
--
Ticket URL: <https://trac.macports.org/ticket/68016#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list