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 'Smile' #56

Closed
sillehm opened this issue Oct 11, 2022 · 1 comment
Closed

AttributeError: module 'opensmile' has no attribute 'Smile' #56

sillehm opened this issue Oct 11, 2022 · 1 comment

Comments

@sillehm
Copy link

sillehm commented Oct 11, 2022

Having followed all the steps in the instructions for installation we ran the following code

import opensmile

smile = opensmile.Smile(
    feature_set=opensmile.FeatureSet.ComParE_2016,
    feature_level=opensmile.FeatureLevel.Functionals,
)

It returns an attribute error showing that opensmile has no attribute Smile.

We checked to see which attributes the opensmile module has with

print(dir(opensmile))

And it only returned
['doc', 'file', 'loader', 'name', 'package', 'path', 'spec'].

We are using a linux and 64-bit python.

Do you have any suggestions to where in the installation process something has failed or is missing?

@sillehm
Copy link
Author

sillehm commented Oct 11, 2022

It was solved using
conda install gcc_linux-64 gxx_linux-64 compilers c-compiler cxx-compiler

@sillehm sillehm closed this as completed Oct 11, 2022
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

1 participant