Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#67445 closed defect (fixed)

py310-cartopy @0.21.0_0 fails on Python import

Reported by: mgaray (Michael Garay) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: Guymer (Thomas Guymer)
Port: py-cartopy

Description (last modified by jmroot (Joshua Root))

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

Change History (7)

comment:1 Changed 18 months ago by mgaray (Michael Garay)

comment:2 Changed 18 months ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to petrrr
Port: py-cartopy added; py310-cartopy removed
Status: newassigned

comment:3 Changed 18 months ago by Guymer (Thomas Guymer)

I just came across this issue too. According to the GitHub ticket, updating Cartopy from 0.21.0 to 0.21.1 will fix it. Could the MacPorts port be updated to this version please?

comment:4 Changed 18 months ago by Guymer (Thomas Guymer)

Cc: Guymer added

comment:5 Changed 18 months ago by reneeotten (Renee Otten)

Owner: changed from petrrr to reneeotten
Status: assignedaccepted

comment:6 Changed 18 months ago by reneeotten (Renee Otten)

Resolution: fixed
Status: acceptedclosed

In b2b92756a5e67f0cd945a9e0a4f70a8fe5e0d81f/macports-ports (master):

py-cartopy: update to 0.21.1

Closes: #67445

comment:7 Changed 18 months ago by Guymer (Thomas Guymer)

Thank you very much, it works perfectly now, cheers!

Note: See TracTickets for help on using tickets.