astropy.wcs incompatible with wcslib 6.3
See original GitHub issueAs mentioned by @privong in issue #9018, there is an error on import with astropy.wcs with wcslib version 6.3 and astropy 3.2.1. The backtrace is the following:
/usr/lib/python3.7/site-packages/astropy/wcs/__init__.py in <module>
24 """
25
---> 26 from .wcs import *
27 from . import utils
28
/usr/lib/python3.7/site-packages/astropy/wcs/wcs.py in <module>
47 from astropy.io import fits
48 from . import docstrings
---> 49 from . import _wcs
50
51 from astropy.utils.compat import possible_filename
ImportError: /usr/lib/libwcs.so.6: undefined symbol: fits_read_wcstab
Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (13 by maintainers)
Top Results From Across the Web
WCS — Astropy v5.2
A Wcsprm object to perform the basic wcslib WCS transformation. world_axis_names ... Inconsistent or unrecognized coordinate axis types.
Read more >Source code for astropy.wcs.wcs
Wcsprm `: Is a direct wrapper of the core WCS # functionality in `wcslib`_. ... InconsistentAxisTypesError Inconsistent or unrecognized coordinate axis types ...
Read more >World Coordinate System (astropy.wcs)
World Coordinate Systems (WCSs) describe the geometric transformations between one set of coordinates and another. A common application is to map the pixels...
Read more >astropy.wcs History
Builds on Microsoft Windows without severely patching wcslib. Lots of new unit tests. pywcs will now run without pyfits , though the SIP...
Read more >Legacy Interface - astropy.wcs API
Core WCS, as defined in the FITS WCS standard, based on Mark Calabretta's wcslib. (Also includes TPV and TPD distortion, but not SIP...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nden The Arch package manager indicates that
wcslib
depends oncfitsio
, so that dependency should be satisfied.Thanks! I was completely baffled… I’m not sure if the wcslib maintainer needs a ping.
--use-system-cfitsio
links the FITS module againstlibcfitsio
--use-system-wcslib
links the WCS module againstlibwcs
, and notlibcfitsio
.In this case it feels like
astropy/wcs/setup_package.py
needs to be updated to link tocfitsio
.