-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
the generate-wheels.yml github action is missing something:
In [2]: import pygedm
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-2-2bed23ea31d2> in <module>
----> 1 import pygedm
~/mpy3/envs/p38/lib/python3.8/site-packages/pygedm/__init__.py in <module>
6 __version__ = '0.0.1 - manual install'
7
----> 8 from .pygedm import dm_to_dist, dist_to_dm, calculate_electron_density_lbr, calculate_electron_density_xyz, \
9 calculate_halo_dm, generate_healpix_dm_map, convert_lbr_to_xyz
~/mpy3/envs/p38/lib/python3.8/site-packages/pygedm/pygedm.py in <module>
22 """
23 from . import ymw16_wrapper
---> 24 from . import ne2001_wrapper
25 from . import yt2020
26 from . import healpix_utils
~/mpy3/envs/p38/lib/python3.8/site-packages/pygedm/ne2001_wrapper.py in <module>
19 from functools import wraps
20 from astropy import units as u
---> 21 import ne21c
22
23 DATA_PATH = os.path.dirname(os.path.abspath(__file__))
ImportError: /home/dancpr/mpy3/envs/p38/lib/python3.8/site-packages/pygedm.libs/libf2c-e943422c.so.0.23: undefined symbol: MAIN__
In [3]: cd /home/dancpr/mpy3/envs/p38/lib/python3.8/site-packages/pygedm.libs/
/home/dancpr/mpy3/envs/p38/lib/python3.8/site-packages/pygedm.libs
That symbol is in the ne21c main.cpp, unsure what libf2c thinks its doing... This one might take a while to debug. For now I have deleted from PyPi the broken wheels.
Metadata
Metadata
Assignees
Labels
No labels