[MacPorts] #67445: py310-cartopy @0.21.0_0 fails on Python import

MacPorts noreply at macports.org
Wed May 17 16:28:18 UTC 2023


#67445: py310-cartopy @0.21.0_0 fails on Python import
-------------------------+----------------------
  Reporter:  mgaray      |      Owner:  petrrr
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:
      Port:  py-cartopy  |
-------------------------+----------------------
Changes (by jmroot):

 * status:  new => assigned
 * owner:  (none) => petrrr
 * port:  py310-cartopy => py-cartopy


Old description:

> MT-100409> python3
> Python 3.10.11 (main, Apr  8 2023, 06:41:20) [Clang 14.0.0
> (clang-1400.0.29.202)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import cartopy
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
> /site-packages/cartopy/__init__.py", line 107, in <module>
>     import cartopy.crs  # noqa: E402  module-level imports
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
> /site-packages/cartopy/crs.py", line 27, in <module>
>     import cartopy.trace
>   File "lib/cartopy/trace.pyx", line 56, in init cartopy.trace
> ImportError: cannot import name lgeos

New description:

 {{{
 MT-100409> python3
 Python 3.10.11 (main, Apr  8 2023, 06:41:20) [Clang 14.0.0
 (clang-1400.0.29.202)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import cartopy
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/cartopy/__init__.py", line 107, in <module>
     import cartopy.crs  # noqa: E402  module-level imports
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/cartopy/crs.py", line 27, in <module>
     import cartopy.trace
   File "lib/cartopy/trace.pyx", line 56, in init cartopy.trace
 ImportError: cannot import name lgeos
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/67445#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list