Skip to content

Local wheel built on Mac OS seg faults when loading wrapper library #78

Closed

Description

@michaeltryby

Building owa-epanet wheel locally on Mac OS 11.4 with Python 3.8 running in a Conda env.

The build and install proceed as normal. I get the following error when running pytest

(py38) michaeltryby@iMac-Pro owa-epanet % pytest 
======================================== test session starts =========================================
platform darwin -- Python 3.8.10, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /Users/michaeltryby/Workspace/OWA/epanet-python/owa-epanet
collecting ... Fatal Python error: Segmentation fault

Current thread 0x0000000109d6ce00 (most recent call first):
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 1166 in create_module
  File "<frozen importlib._bootstrap>", line 556 in module_from_spec
  File "<frozen importlib._bootstrap>", line 657 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1042 in _handle_fromlist
  File "/usr/local/anaconda3/envs/py38/lib/python3.8/site-packages/epanet/toolkit.py", line 13 in <module>
  ...

Activity

  1. changed the title [-]Local wheel build seg faults when loading wrapper library [/-] [+]Local wheel build seg faults when loading wrapper library on Mac OS[/+] on Jul 6, 2021
  2. changed the title [-]Local wheel build seg faults when loading wrapper library on Mac OS[/-] [+]Local wheel build on Mac OS seg faults when loading wrapper library[/+] on Jul 6, 2021
  3. changed the title [-]Local wheel build on Mac OS seg faults when loading wrapper library[/-] [+]Local wheel built on Mac OS seg faults when loading wrapper library[/+] on Jul 6, 2021
  4. samhatchett commented on Jul 6, 2021

    @samhatchett
    Member

    dupe of #82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions