[MacPorts] #65762: py-metpy: Missing runtime dependency on py-pyproj

MacPorts noreply at macports.org
Sat Sep 3 16:50:39 UTC 2022


#65762: py-metpy: Missing runtime dependency on py-pyproj
--------------------+-------------------------
 Reporter:  mf2k    |      Owner:  Schamschula
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  py-metpy
--------------------+-------------------------
 {{{
 $ port installed py310-metpy
 The following ports are currently installed:
   py310-metpy @1.3.1_0 (active)
 }}}

 {{{
 $ ipython
 Python 3.10.6 (main, Aug  3 2022, 05:37:08) [Clang 13.0.0
 (clang-1300.0.29.30)]
 Type 'copyright', 'credits' or 'license' for more information
 IPython 8.2.0 -- An enhanced Interactive Python. Type '?' for help.

 In [1]: import metpy
 ---------------------------------------------------------------------------
 ModuleNotFoundError                       Traceback (most recent call
 last)
 Input In [1], in <cell line: 1>()
 ----> 1 import metpy

 File
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/metpy/__init__.py:35, in <module>
      32 os.environ['PINT_ARRAY_PROTOCOL_FALLBACK'] = '0'
      34 from ._version import get_version  # noqa: E402
 ---> 35 from .xarray import *  # noqa: F401, F403, E402
      37 __version__ = get_version()
      38 del get_version

 File
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/metpy/xarray.py:27, in <module>
      24 import warnings
      26 import numpy as np
 ---> 27 from pyproj import CRS, Proj
      28 import xarray as xr
      30 from ._vendor.xarray import either_dict_or_kwargs,
 expanded_indexer, is_dict_like

 ModuleNotFoundError: No module named 'pyproj'
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65762>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list