+
Skip to content

Pip install on MacOS 15.4.1 Arm #95

@surak

Description

@surak

So, trying to install it, I ended up with

extensions/_pywrapfst.cpp:1291:10: fatal error: 'fst/util.h' file not found
       1291 | #include <fst/util.h>

which was fixed with setting CPLUS_INCLUDE_PATH to openfst:

export CPLUS_INCLUDE_PATH=/opt/homebrew/Cellar/openfst/1.8.4/include

And that let me to

self._finalize_license_expression()
      ld: library 'fstfarscript' not found

Adding the right directory to DYLD_LIBRARY_PATH does not seem to do anything:

ls -la $DYLD_LIBRARY_PATH/libfstfarscript*         
-r--r--r--  1 surak  admin  1411856 Apr 30 17:17 /opt/homebrew/Cellar/openfst/1.8.4/lib/libfstfarscript.26.dylib
lrwxr-xr-x  1 surak  admin       24 Dec 20 17:14 /opt/homebrew/Cellar/openfst/1.8.4/lib/libfstfarscript.dylib -> libfstfarscript.26.dylib

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载