#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: | new → assigned |
comment:3 Changed 17 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 17 months ago by Guymer (Thomas Guymer)
Cc: | Guymer added |
---|
comment:5 Changed 17 months ago by reneeotten (Renee Otten)
Owner: | changed from petrrr to reneeotten |
---|---|
Status: | assigned → accepted |
comment:6 Changed 17 months ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:7 Changed 17 months ago by Guymer (Thomas Guymer)
Thank you very much, it works perfectly now, cheers!
Note: See
TracTickets for help on using
tickets.
This may be helpful: https://github.com/SciTools/cartopy/issues/2076