Giter Site home page Giter Site logo

Comments (12)

merrellb avatar merrellb commented on August 17, 2024

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.

ibayer avatar ibayer commented on August 17, 2024

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.

merrellb avatar merrellb commented on August 17, 2024

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.

chezou avatar chezou commented on August 17, 2024

I think egg might work on Mac OS X because it builds on installation.

from fastfm.

ibayer avatar ibayer commented on August 17, 2024

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.

merrellb avatar merrellb commented on August 17, 2024

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.

ibayer avatar ibayer commented on August 17, 2024

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.

merrellb avatar merrellb commented on August 17, 2024

Both seem to work great. Thanks!

from fastfm.

chezou avatar chezou commented on August 17, 2024

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.

merrellb avatar merrellb commented on August 17, 2024

You sure you are using Python 3.5?

from fastfm.

chezou avatar chezou commented on August 17, 2024

Oh, sorry. I used Python 3.4.4

from fastfm.

chezou avatar chezou commented on August 17, 2024

I confirmed I can use fastFM on Python 3.5!

from fastfm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.