Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

dlopen bycython.cpython-311-darwin.so symbol not found #109

@mburazin

Description

@mburazin

On my MacOS I'm getting the following error on editdistance version 0.6.2:

Traceback (most recent call last):
  File "/Users/markoburazin/kog/manage.py", line 7, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/markoburazin/Library/Caches/pypoetry/virtualenvs/kog-6rZ4PL8--py3.11/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/Users/markoburazin/Library/Caches/pypoetry/virtualenvs/kog-6rZ4PL8--py3.11/lib/python3.11/site-packages/django/core/management/__init__.py", line 395, in execute
    django.setup()
  File "/Users/markoburazin/Library/Caches/pypoetry/virtualenvs/kog-6rZ4PL8--py3.11/lib/python3.11/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/Users/markoburazin/Library/Caches/pypoetry/virtualenvs/kog-6rZ4PL8--py3.11/lib/python3.11/site-packages/django/apps/registry.py", line 114, in populate
    app_config.import_models()
  File "/Users/markoburazin/Library/Caches/pypoetry/virtualenvs/kog-6rZ4PL8--py3.11/lib/python3.11/site-packages/django/apps/config.py", line 301, in import_models
    self.models_module = import_module(models_module_name)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/markoburazin/.pyenv/versions/3.11.7/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed

...

    from .bycython import eval
ImportError: dlopen(/Users/markoburazin/Library/Caches/pypoetry/virtualenvs/kog-6rZ4PL8--py3.11/lib/python3.11/site-packages/editdistance/bycython.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '__ZNSt8ios_base4InitD1Ev'

I'm running Python 3.11.7. Any ideas what the issue might be ?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions