Open toddysm opened 10 years ago
Is this from make test
in the ports/python
directory or only from some other code? I'm running Mavericks and make test
works correctly. IF you have some small script to reproduce the issue outside of that I'm happy to incorporate that and get it fixed.
Hi, this is when I try to import the cld module for use in Python script. This is after installation of the library.
When I create a new file in /tmp
as follows:
#!/usr/bin/env python
import cld
detectedLangName, detectedLangCode, isReliable, textBytesFound, details = cld.detect("I can eat glass and it doesn't hurt me", pickSummaryLanguage=True, removeWeakMatches=False)
print detectedLangName
I get back ENGLISH
as expected. Does make test
work correctly? Also, did you run make install
from the base cld
directory? The Python library depends on the system having the shared C++ library and I've seen that cause similar problems.
Hi,
After installing the library with Homebrew on Mac OS X Mavericks I am getting the following error:
Any ideas?