audeering / opensmile

The Munich Open-Source Large-Scale Multimedia Feature Extractor
https://audeering.github.io/opensmile/
Other
553 stars 74 forks source link

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

Closed sillehm closed 1 year ago

sillehm commented 1 year ago

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 commented 1 year ago

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