audeering/opensmile

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

Closed this issue · 1 comments

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?

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