on Macos, new h3 install creates segmentation fault
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 144
- Avg merge
- 7d 14h
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the reported Python 3.9, conda, macOS, and h3-py 3.7.4 commands, then isolate the package or dependency involved in the crash during import h3. Done means a fresh environment can import h3 without a segmentation fault, and removing h3-py does not unnecessarily remove sqlite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100