-
Notifications
You must be signed in to change notification settings - Fork 206
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
Cannot compile fastFM on Windows 10 #56
Comments
@nicolasfguillaume I would try to compile with g++ first. Feel free to post you error messages here. I or someone else might be ableto help you to guess what goes wrong. |
Hello, In cmd.exe I typed: C:\Users\Nicolas\Desktop\fastfm_test\fastFM>python setup.py install And then I get the following: running install It seems that the compiler cannot find the BLAS library on my system. Per the BLAS website (http://www.netlib.org/blas/), it seems that BLAS is available for Windows at http://icl.cs.utk.edu/lapack-for-windows/lapack/#build. Unfortunately, it looks like installing BLAS on Windows is possible but quite a process. I'm curious to know if anyone was ever able to use fastFM on Windows. |
I need it too :-( |
@hshteingart |
HI nicolasfguillaume , all, I'll try to deploy it on a Linux machine, D:\PROGRAM\SDKs\Anaconda3.220\Scripts\gcc.bat -mdll -O -Wall -IfastFM/ -IfastFM-core/include/ -IfastFM-core/externals/CXSparse/Include/ -Id:\program\sdks\anaconda3.220\lib\site-packages\numpy\core\include -Id:\program\sdks\anaconda3.220\include -Id:\program\sdks\anaconda3.220\include -c fastFM\ffm.c -o build\temp.win-amd64-3.4\Release\fastfm\ffm.o
Command "d:\program\sdks\anaconda3.220\python.exe -u -c "import setuptools, tokenize;file='C:\TEMP\rheras\pip-lcx3dkbl-build\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\TEMP\rheras\pip-6h7fkq9x-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\TEMP\rheras\pip-lcx3dkbl-build_ |
(WSL) Windows subsystem for Linux may be the solution if you have Windows 10. |
I was able to install it on WSL without problems and also to use jupyter notebook. I'm on Creators update. |
@EgZvor Thanks for the update, did you run the tests? |
@ibayer Sure. On windows I downloaded the Creators upgrade from microsoft official site. While installing it looks like transition from Win7/8 to Win10 and there's 15gb of files left to be able to go back to previous update. I am not sure if it is critical to make this upgrade, I made it because I had the old build which hadn't allowed me to use |
I checked the source code on that files and ran |
I decided to |
I went back to do python tests and find out that in my case nosetests needed
But other than that all 29 tests have been passed. |
@ibayer |
Here's the patch |
Thanks, fixed ibayer/fastFM-core#23 . |
Thanks guys for your comments and help, |
Good morning,
Unfortunately, I was not able to compile and install fastFM on my Windows 10 x64 machine.
I am using Python 2.7.11 |Anaconda 2.3.0 (64-bit)| (default, Feb 16 2016, 09:58:36) [MSC v.1500 64 bit (AMD64)].
I tried with different compilers: g++, w64-mingw32, and Microsoft Visual C++ Compiler for Python 2.7.
Your help would be greatly appreciated.
Regards
The text was updated successfully, but these errors were encountered: