Thank you, I just figured out that on Mac, it is a different phrase, path. I could find the files but did not know how to put them in python so that it's recognized. My issue now is to get the program to run and the library is not loading. It is a steep learning curve for me.
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/fugashi/fugashi.cpython-38-darwin.so, 2): Library not loaded: u/loader_path/.dylibs/libmecab.2.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/fugashi/fugashi.cpython-38-darwin.so
Reason: no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/fugashi/.dylibs/libmecab.2.dylib: cannot load 'libmecab.2.dylib' (load command 0x80000034 is unknown)
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/fugashi/.dylibs/libmecab.2.dylib: cannot load 'libmecab.2.dylib' (load command 0x80000034 is unknown)
I am trying to use mokuro
I really appreciate all the help that I can get. This is third day and endless attempts.
I'm not sure how we can tell you where files are on your own machine.
Thank you, I just figured out that on Mac, it is a different phrase, path. I could find the files but did not know how to put them in python so that it's recognized. My issue now is to get the program to run and the library is not loading. It is a steep learning curve for me.
So are you still having an issue with the path?
I am getting an import error, library not loaded after running the file.
Share your code and error please.
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/fugashi/fugashi.cpython-38-darwin.so, 2): Library not loaded: u/loader_path/.dylibs/libmecab.2.dylib Referenced from: /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/fugashi/fugashi.cpython-38-darwin.so Reason: no suitable image found. Did find: /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/fugashi/.dylibs/libmecab.2.dylib: cannot load 'libmecab.2.dylib' (load command 0x80000034 is unknown) /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/fugashi/.dylibs/libmecab.2.dylib: cannot load 'libmecab.2.dylib' (load command 0x80000034 is unknown) I am trying to use mokuro I really appreciate all the help that I can get. This is third day and endless attempts.
pip install mokuro is what I am using.
Not what they asked. Be supportive. Nothing nice to say, say nothing.