-
Notifications
You must be signed in to change notification settings - Fork 34
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
Please can someone look into this #45
Comments
Could you please provide some information on the system you are using? |
Thank you in advance for your time. So I am working on AWS SageMaker system. System information: to replicate the issue in the simplest way:
Traceback (most recent call last): If I then install sndfile with I get a new error: `>>> import opensmile
Traceback (most recent call last):
However I am not sure how to move on from this. Any help would be greatly appreciated. |
I also note that if I try to install sndfile with pip I get an error that gcc failed `sh-4.2$ pip install sndfile
|
This is the gcc version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)` |
As a first step I would recommend you to try building openSMILE binaries as described here: |
This I have done but still get the same issues re libmvec:
|
I will now myself rather than using pre build binaries |
Did you try to install |
I get an error when running
|
@chausner-audeering any idea what's going on? |
here is my build_flags.sh (only change I made was -DWITH_OPENSLES=OFF) This file is part of openSMILE.Copyright (c) audEERING. All rights reserved.See the file COPYING for details on license terms.build_flags=(
) cmake_flags=(
) build_flags="${build_flags[@]}"` |
it is installed: `sh-4.2$ pip list aiobotocore 1.4.1 |
I note that this is similar to the error I get when I use the python wrapper: `sh-4.2$ python
I think it may have something to do with this issue: homebridge/ffmpeg-for-homebridge#2 (comment) but I am not sure |
The problem is that the gcc compiler you are using is too old. openSMILE requires a compiler that is C++11-compatible. gcc 5 or higher should be fine. |
Ahh thanks I will look into this after lunch. Do you think this will solve the issues with the Python wrapper version? |
Not sure, we'll have to see. |
So I have upgraded gcc:
However on bash build.sh: |
Yes, you'll need to update both gcc and g++. |
amazing! this worked. thank you so much for your help. I have other commitments this afternoon so can't implement the feature extraction yet but I assume using the SMILExtract API should be fairly non problematic. |
Just for completeness this was the command which sorted everything out regarding building opensmile:
|
Hi, I am also facing this issue. Installing via
pip install opensmile
and
git clone https://github.com/audeering/opensmile-python.git cd opensmile-python python setup.py install
did not work leading to the above error on
import opensmile.py
Any help would be greatly appreciated.
Originally posted by @harrygcoppock in #26 (comment)
The text was updated successfully, but these errors were encountered: