-
Notifications
You must be signed in to change notification settings - Fork 107
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
Installation in Mac environment is very difficult #7
Comments
@shalomeir Okay, we didn't test buffalo on Mac. IMHO we could but, compiling on Mac has some problems to solve. e.g. dependency on gnu sort. I will provide Docker file first. |
@shalomeir I just added Dockerfile on ./examples directory. Please check it out and tell me is it works to you. (I tested it on MacOS Mojave 10.14.6) |
@ummae Thanks a lot. I'll check it in a day or two. |
@ummae I gave up because it was too difficult to run. Dockerfile created an image well. And I execute 'python ./example_als.py example1 in examples directory'. Also I download 'ml-100k' files and change some file names such as main and iid. But it's not works.
Overall, it is not kind and seems too difficult to reproduce. |
@shalomeir |
@ummae I did as it was written in this file. Also I also download movie lenz file to my local tests/ext folder and sharing by -v command. |
@shalomeir Did you run preprocessing.py? https://github.com/kakao/buffalo/tree/dev/tests#preprcessing and what is output log when you type nosetests? |
@ummae It doesn't work. Did you do the same procedure using Dockerfile too? There are some miss matched file name or directorie name between code and repository that is downloaded by Dockerfile. I think that container based on same Dockerfile could be almost same whenever I run my local mac or not. |
@shalomeir
Since kakao-brunch-12m, kakao-reco-730m databases are not required for unittest, we can ignore error from preprocessing about |
Thank you for describing the whole process. It didn't go a bit, but it worked out well. First, error at this step
So I install unzip 2nd error at this step
As you might expect, it wasn't a big deal 3rd error at this step
So I install nose and try again. Also should be go upper directory /tests It's the same as easy steps, but of course there are some things that I can't understand when I encounter some error whenever I followed by the official document. I hope it would be a more accurate guide in the official document. Anyway thank you for your patience. |
@shalomeir Congrats! Okay, I will. Enjoy then. |
Is this code for only in LINUX?
Very hard to install in MAC OSX environment. I tried many things and tweak a little code to complete installation. But I couldn't succeed.
In my Mac, default gcc command is not properly works cause that this repository gcc version is higher than default. So I use gcc-9 that I install by brew and execute with prefix CC="gcc-9". And install command is not complete when building 'cbuffalo' extension step.
In another way, can someone share a Dockerfile plz?
The text was updated successfully, but these errors were encountered: