Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on Macos, new h3 install creates segmentation fault #313

Open
theophile-pace-bolt opened this issue Feb 20, 2023 · 7 comments
Open

on Macos, new h3 install creates segmentation fault #313

theophile-pace-bolt opened this issue Feb 20, 2023 · 7 comments

Comments

@theophile-pace-bolt
Copy link

Hello, when installing h3 on new conda environment, it causes a Segmentation Fault.

Environment: python 3.9
Conda, h3-py 3.7.4

To reproduce

conda create -n h3-test python=3.9
conda activate h3-test
conda install h3-py
python
>>> import h3

Result

(h3-test-2) ➜  ~ python
Python 3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:38:11)
[Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import h3
[1]    29327 segmentation fault  python

Also, removing h3-py causes sqlite to be removed, crashing ipython and jupyter in general.

Could we fix this case? I do not understand what could cause the issue.

@predam
Copy link

predam commented Feb 28, 2023

I am facing the same issue.
(using mac os, m2 chip)

@kylebarron
Copy link
Contributor

Are both of you using an m2 chip?

@surendrark
Copy link

I have the same issue. I'm on an m1 chip

@theophile-pace-bolt
Copy link
Author

I am using an m1 chip

@cachatj
Copy link

cachatj commented Mar 15, 2023

same, m1 chip, python 3.9.

did anyone get success downgrading h3-py?

update: attempted to downgrade to 3.7.3 & 3.7.0 - no luck, error remains

FIX: install w "pip install h3", works

@arengel
Copy link

arengel commented Mar 21, 2023

Same, m1 chip, but in my case python 3.10.9.

@zaneselvans
Copy link

Some of the conda maintainers are looking into it: conda-forge/h3-py-feedstock#38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants