-
Notifications
You must be signed in to change notification settings - Fork 61
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
Not able to install for Mac os High Sierra #1
Comments
It's been developed on Linux so far. There's only a couple of dependencies like py-lz4framed, but those might not compile on Mac/Windows. The py-lz4framed library is only used for compression of feature cache files. If your use doesn't require this, it should be easy to disable the relevant parts from the source code and setup.py. I've fixed the python2/python3 and spark/non-spark compatibilities, but the OS differences would need a look. There would need to be more tests added if other OS are expected to work. Additions are welcome. :) |
|
it doesn't work for me. I get this error message: How do I get Openmp? |
probably on your system g++ is an alias for clang (try to install real gcc |
I have gcc/g++ installed by brew, but indeed PIP was using clang.
and then it worked. Setting the CC/CXX variables without Thanks. |
With the following steps, wordbatch installed on my Mac. Special thanks to @ffedericoni and @anttttti
|
@anttttti I got this error when set CC=gcc-7 and CXX=g++-7. Do you have any clue to fix this? Thanks!
|
I had the same issue. Then I tried After those steps, I installed wordbatch again using pip3 install wordbatch. It seems to work now. |
Installation instructions will need an update. Just installed on a clean AWS Ubuntu 16.04 instance. Needed to call these before I could do pip install: sudo apt-get update |
Please be carefully, if you are running anaconda, python are local. so, please do NOT use sudo. brew install gcc # optional only if you don't have gcc-7 I used |
i have install wordbatch on my mac according to @ffedericoni , while in my code, it can not found WordHash and FM_FTRL, this is the error message:
what can i do to resolve this problem? |
It seems latest version of MacOS (Monterey) doesn't get the gcc-7 links right. Doing this resolves the compilation issues with clang not supporting OpenMP and gcc not found for compilation: |
Tried to use: pip install word batch but failed building wheel for py-lz4framed.
I do have python 3.6 installed under anaconda package.
The computer os: Mac os high sierra.
Does the library only work in linux operation system?
Thank you!
The text was updated successfully, but these errors were encountered: