Comments (12)
FWIW the issue exists in python 2.7.11
Python 2.7.11 (default, Dec 12 2015, 14:38:46)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ffm
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(/Users/merrellb/venv/brian/lib/python2.7/site-packages/ffm.so, 2): Symbol not found: _cs_di_norm
Referenced from: /Users/merrellb/venv/brian/lib/python2.7/site-packages/ffm.so
Expected in: flat namespace
in /Users/merrellb/venv/brian/lib/python2.7/site-packages/ffm.so
from fastfm.
pip install
is not stable yet, and I'm surprised you found it ;) .
Currently only linux binaries are available on pip. I'm not sure if it's possible to "deactivate" pip for osx.
I'll open an issue with a detailed description about the current state of pip install
asap.
I recommend to use the source install for osx in the meantime.
from fastfm.
Thanks @ibayer. I don't have any experience with platform specific packaging but this link might be helpful:
http://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#platform-wheels
from fastfm.
I think egg might work on Mac OS X because it builds on installation.
from fastfm.
I just managed to build and upload wheels with travis. 😄
https://github.com/ibayer/fastFM-fork/releases
They work on linux. We could add this to master and I could upload platform specific wheel to pip
if this works on osx too.
from fastfm.
An OSX specific wheel would be great (happy to do some testing)
Strangely I note that the current pip install creates a file called
site-packages/ffm.cpython-35m-darwin.so
which seems very Mac specific given the lack of binary OSX support (perhaps this is just some pip "magic" renaming the Linux library?)
from fastfm.
OSX specific wheels are available here:
https://github.com/ibayer/fastFM-fork/releases
You could try them
Python 2.7
pip install https://github.com/ibayer/fastFM-fork/releases/download/v.1.5/fastFM-0.1.1-cp27-none-macosx_10_5_x86_64.whl
Python 3.5
pip install https://github.com/ibayer/fastFM-fork/releases/download/v.1.5/fastFM-0.1.1-cp35-cp35m-macosx_10_5_x86_64.whl
from fastfm.
Both seem to work great. Thanks!
from fastfm.
On my Mac OS X which is Yosemite 10.10.5, fastFM could not install with wheel.
pip install https://github.com/ibayer/fastFM-fork/releases/download/v.1.5/fastFM-0.1.1-cp35-cp35m-macosx_10_5_x86_64.whl
fastFM-0.1.1-cp35-cp35m-macosx_10_5_x86_64.whl is not a supported wheel on this platform.
Result of pip freeze
is here.
from fastfm.
You sure you are using Python 3.5?
from fastfm.
Oh, sorry. I used Python 3.4.4
from fastfm.
I confirmed I can use fastFM on Python 3.5!
from fastfm.
Related Issues (20)
- pip install . is not working on Winodws HOT 1
- Illegal instruction (core dumped) in ALS HOT 5
- Can fastfm use mini batch? HOT 1
- Check pairs range failed when fitting BPR
- OverflowError: n_iter too high in bpr.FMRecommender HOT 1
- Need partial_fit HOT 1
- Can fastfm use multicore to speed up training? HOT 1
- Fit complaining about both dense/sparse HOT 2
- Recompile for python 3.7 HOT 7
- Input of fit() and return value of predict_proba() method
- Failure to install on Python3.8 HOT 8
- Fix simple typo: reommend -> recommend
- Import Error
- Compiling using OpenBLAS from anaconda
- Source file type in PyPi
- No coordinate descent solver available HOT 1
- Compilation error on macOS 11.2 ARM HOT 3
- Any plan to support py3.7+? HOT 1
- will it work for third order categorical features interaction ?
- will it work on windows OS?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastfm.