Skip to content
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

AttributeError: module 'opensmile' has no attribute 'core' #23

Open
ckchandler opened this issue Apr 5, 2021 · 3 comments
Open

AttributeError: module 'opensmile' has no attribute 'core' #23

ckchandler opened this issue Apr 5, 2021 · 3 comments

Comments

@ckchandler
Copy link

ckchandler commented Apr 5, 2021

Hi there,

I just downloaded opensmile via pip and ran the line import opensmile and it returned the above error (AttributeError: module 'opensmile' has no attribute 'core')

Not really seeing any documentation around this so any idea what is going on?

Thanks!

Screen Shot 2021-04-05 at 5 01 12 PM

@ckchandler
Copy link
Author

ckchandler commented Apr 5, 2021

Hmm, after a jupyter notebook restart I am getting this new error, and the same happens from python in my terminal. Same happens after uninstalling and reinstalling via pip. A refresh and I am now getting the original error... very odd!

Screen Shot 2021-04-05 at 5 15 59 PM

@frankenjoe
Copy link
Collaborator

Seems like the OSX library we are shipping is not compatible with your system. Could you please try to build libSMILEapi.dylib as described here:

https://github.com/audeering/opensmile#linuxmacos

and then update the file in your virtual environment (the path is shown in the last line of your error message).

@ckchandler
Copy link
Author

ckchandler commented Apr 6, 2021

I went through the mac install and moved the libSMILEapi.dylib file into the directory listed in the last line of my error message (replaced the old one). Restarted jupyter notebook and still getting the same error (as well as from python in my terminal). I can get opensmile to work from the command line now though so I will just proceed that way. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants