-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename module to avoid name clash [was: macos 10.14 C library not found] #109
Comments
Also it should be |
@egberts has Dobatymo's comment helped you? |
PyCharm (JetBrain) Integrated Development Environment (IDE) is complaining that the Python package name 'pyahocorasick' does not match the module name 'ahocorasick'. |
Furthermore, there is a module name conflict with another Ahocorasick that has already been registered with PyPi. If I read this correctly the PEP8 and PEP423, the 'import ahocorasick' would need to be changed to 'import pyahocorasick'. |
Fixed in PyCharm 2019.1 |
@egberts Thanks, I haven't read the PEPs, but anyway the naming mismatch is counter-intuitive and should be sorted out. Since this fix breaks backward compatibility, I'll change the name in the 2.0.0 line. |
Close this issue and make another one to change the module name? |
@egberts its is fine to keep this issue. |
On macos 10.14 (High Sierra), performed basic install:
brew install python # Python3.7 pip install pyahocorasick
And executing:
Resulted in
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
.The text was updated successfully, but these errors were encountered: