xnd-project / libgumath

Subsumed into xnd
https://xnd.io/
BSD 3-Clause "New" or "Revised" License
25 stars 14 forks source link

Import issue #6

Closed saulshanabrook closed 6 years ago

saulshanabrook commented 6 years ago

I followed the INSTALL.txt instructions, but I am not able to import gumath:

$ python                                                                                                                      (numbaenv)
Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:14:23)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gumath
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/saul/projects/gumath/python/gumath/__init__.py", line 35, in <module>
    from ._gumath import *
ImportError: dlopen(/Users/saul/projects/gumath/python/gumath/_gumath.cpython-36m-darwin.so, 2): Symbol not found: _gm_apply
  Referenced from: /Users/saul/projects/gumath/python/gumath/_gumath.cpython-36m-darwin.so
  Expected in: flat namespace
 in /Users/saul/projects/gumath/python/gumath/_gumath.cpython-36m-darwin.so
>>>