urschrei/simplification

Import simplification doesn't work on Mac M1: Symbol not found. Expected in: flat namespace

akash-y opened this issue · 1 comments

I have been trying to install simplification in a miniforge environment on a Mac M1 Big Sur but was not able to do so. I get the following error while importing from simplification.cutil import simplify_coords_vwp -

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: dlopen(/Users/akashyadav/miniforge3/envs/xview_env_tensor/lib/python3.8/site-packages/simplification/cutil.cpython-38-darwin.so, 2): Symbol not found: _drop_float_array
  Referenced from: /Users/akashyadav/miniforge3/envs/xview_env_tensor/lib/python3.8/site-packages/simplification/cutil.cpython-38-darwin.so
  Expected in: flat namespace
 in /Users/akashyadav/miniforge3/envs/xview_env_tensor/lib/python3.8/site-packages/simplification/cutil.cpython-38-darwin.so

The installation works while directly installing from anaconda however. I need to use a miniforge environment to be able to use tensorflow on my machine