jvines / astroARIADNE

Easy stellar SED fitting!
MIT License
56 stars 7 forks source link

haelpy issue with MacOS 10.14 #29

Open cosmicbabs opened 2 years ago

cosmicbabs commented 2 years ago

Hi! just to let you know that I had to install healpy from MacBook ports for py37 because with pip I got an error with one of the libraries (see below). After that (and re-installing everything!) it seems that everything is working. Cheers!

from astroARIADNE.star import Star Holoviews not imported. Some visualizations will not be available. Warning: cannot import _healpy_pixel_lib module

ImportError Traceback (most recent call last) /var/folders/b7/q8hps60d2wg69_x1swxr_5fr0000gn/T/ipykernel_19629/3021478202.py in ----> 1 from astroARIADNE.star import Star

~/Library/Python/3.7/lib/python/site-packages/astroARIADNE-0.5.5-py3.7.egg/astroARIADNE/init.py in 11 from . import utils 12 from .fitter import Fitter ---> 13 from .star import Star 14 from .librarian import Librarian 15 from .plotter import SEDPlotter

~/Library/Python/3.7/lib/python/site-packages/astroARIADNE-0.5.5-py3.7.egg/astroARIADNE/star.py in 7 import numpy as np 8 from astropy.coordinates import SkyCoord ----> 9 from dustmaps.sfd import SFDQuery 10 from dustmaps.planck import PlanckQuery, PlanckGNILCQuery 11 from dustmaps.lenz2017 import Lenz2017Query

~/Library/Python/3.7/lib/python/site-packages/dustmaps/sfd.py in 31 32 from .std_paths import * ---> 33 from .map_base import DustMap, WebDustMap, ensure_flat_galactic 34 from . import fetch_utils 35 from . import dustexceptions

~/Library/Python/3.7/lib/python/site-packages/dustmaps/map_base.py in 24 25 import numpy as np ---> 26 import healpy as hp 27 import astropy.coordinates as coordinates 28 import astropy.units as units

~/Library/Python/3.7/lib/python/site-packages/healpy/init.py in 65 ) 66 ---> 67 from .sphtfunc import ( 68 anafast, 69 map2alm,

~/Library/Python/3.7/lib/python/site-packages/healpy/sphtfunc.py in 31 DATAURL_MIRROR = "https://github.com/healpy/healpy-data/releases/download/" 32 ---> 33 from . import _healpy_sph_transform_lib as sphtlib 34 from . import _sphtools as _sphtools 35 from . import cookbook as cb

ImportError: dlopen(/Users/cosmicbabs/Library/Python/3.7/lib/python/site-packages/healpy/_healpy_sph_transform_lib.cpython-37m-darwin.so, 2): Symbol not found: _aligned_alloc Referenced from: /Users/cosmicbabs/Library/Python/3.7/lib/python/site-packages/healpy/.dylibs/libstdc++.6.dylib (which was built for Mac OS X 10.15) Expected in: /usr/lib/libSystem.B.dylib in /Users/cosmicbabs/Library/Python/3.7/lib/python/site-packages/healpy/.dylibs/libstdc++.6.dylib