python - Installing llvmpy on OSX -
i've been following this guide. unfortunately don't think llvmpy being installed (here output python).
>>> import numba traceback (most recent call last): file "<stdin>", line 1, in <module> file "/library/python/2.7/site-packages/numba/__init__.py", line 5, in <module> . import testing, decorators file "/library/python/2.7/site-packages/numba/decorators.py", line 7, in <module> numba.targets import registry file "/library/python/2.7/site-packages/numba/targets/registry.py", line 3, in <module> numba.targets import cpu file "/library/python/2.7/site-packages/numba/targets/cpu.py", line 4, in <module> import llvm.core lc file "llvm/__init__.py", line 6, in <module> llvmpy import file "llvmpy/extra.py", line 5, in <module> llvmpy import capsule file "llvmpy/capsule.py", line 4, in <module> llvmpy._capsule import (unwrap, has_ownership, downcast, wrap, importerror: no module named _capsule doing python -c "import llvm" gives me same error above ("no module named _capsule"). ideas? not getting errors while installing llvm,llvmpy or numba, pretty clear llvmpy isn't getting installed properly
i forgot answer this. solved problem underlying issue apple-release (see this answer similar'ish question).
tldr:
export cflags=-qunused-arguments export cppflags=-qunused-arguments and follow guide given here
Comments
Post a Comment