Coder Social home page Coder Social logo

audresample's People

Contributors

agfcrespi avatar chausner-audeering avatar frankenjoe avatar hagenw avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

audresample's Issues

Support for Apple Devices with M1 chip

Dear team,

I am currently facing an issue when trying to run OpenSmile on my Mac with an M1 Chip. I get the following error message that seems to be linked to this python package.

OSError: dlopen(/Users/davidcleres/miniforge3/envs/resmonics-m1/lib/python3.9/site-packages/audresample/core/bin/libaudresample.dylib, 0x0006): tried: '/opt/homebrew/lib/libaudresample.dylib' (no such file), '/opt/homebrew/lib/libaudresample.dylib' (no such file), '/libaudresample.dylib' (no such file), '/Users/davidcleres/miniforge3/envs/lib/python3.9/site-packages/audresample/core/bin/libaudresample.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))

I saw in previous releases that you state that MacOS support was added. Was this tested on Macs with Intel chips or M1 chips or both? I would appreciate your help. Maybe I am doing something wrong. I also tried to install the (https://github.com/audeering/audresamplelib) package from the source. However, this failed as well with the following issue:

Release % conan install ..

Configuration:
[settings]
arch=armv8
arch_build=armv8
build_type=Release
compiler=apple-clang
compiler.libcxx=libc++
compiler.version=13
os=Macos
os_build=Macos
[options]
[build_requires]
[env]

soxr/0.1.3@audeering/testing: Not found in local cache, looking in remotes...
soxr/0.1.3@audeering/testing: Trying with 'conancenter'...
ERROR: Unable to find 'soxr/0.1.3@audeering/testing' in remotes

Add support for MacOS

In audb we are planning to support Linux, Windows and MacOS, so we need to add support for MacOS here as well.

Build different Python packages for different architectures

As this is a very basic package that is included as a dependency in lots of other packages, it would be nice to make it as small as possible. As we will most likely add another binary for #21 it would be nice to build different Python packages (wheels) for different architectures that each include only the desired binary.

Mac OS wheel does not support older versions

Currently we have a wheel for macosx_12_0_x86_64, but as we can see in audeering/audb#309 this wheel cannot be installed by the Action on Github as it supports only wheel for version 10 of Mac OS. The lowest version would be macosx_10_4_x86_64.

For the M1 architecture there are no tags for version 10 of Mac OS and the lowest supported tag is macosx_11_0_arm64.

We should be able to fix this by switching to the lowest version in both cases.

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.