Skip to content

Rename module to avoid name clash [was: macos 10.14 C library not found] #109

@egberts

Description

@egberts

On macos 10.14 (High Sierra), performed basic install:

    brew install python           # Python3.7
    pip install pyahocorasick

And executing:

$ python3.7
Python 3.7.2 (default, Feb 12 2019, 08:15:36) 
[Clang 10.0.0 (clang-1000.11.45.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyahocorasick
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pyahocorasick'
>>> 

Resulted in

    ModuleNotFoundError: No module named 'pyahocorasick'

Something about the FORCED_RPATH not being done in 'gcc option'

Noticed that pyahocorasick-installed C library in /usr/local/lib/python3.7/site-packages/pyahocorasick-1.4.0-py3.7-macosx-10.14-x86_64.egg/ahocorasick.cpython-37m-darwin.so, but no symbolic link in corresponding /usr/local/lib.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions