-
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
AttributeError: module 'opensmile' has no attribute 'Smail' #15
Comments
Hi, you have a small typo. It should be |
I am having the same problem but for me it saysAttributeError Traceback (most recent call last) AttributeError: module 'opensmile' has no attribute 'Smile' |
Hi, I wanted to ask have you ever occurred with this problem where it gives you the same error but the code is right. I would appreciate any help. Thanks. import opensmile
|
The code should work without error. Could you check which version you are using, e.g. >>> import opensmile
>>> opensmile.__version__
'2.4.1' |
I was having OS error and I had to fix that first. So I have condo environment for arch x64 as I am running on Mac. I think I am having installation problem.
|
Could you paste the output of the following commands: import platform
print(platform.system())
print(platform.machine()) And try if you can install it with virtualenv venv
source venv/bin/activate
pip install opensmile
python -c "import opensmile" |
I did this on my condo base which gives me this:
And I also did in my condo X86 env:
I think the import opensmile is working. So when I write the example code:
[1 rows x 6373 columns] |
|
How should I set up then? I tried some other way too. But they weren’t
working for me.
…On Tue, Jul 25, 2023 at 2:27 AM Hagen Wierstorf ***@***.***> wrote:
arm64 this indicates you are not on a x64 architecture, but have a M1
Mac. This architecture is not yet supported, compare #78
<#78>.
—
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A54GP557R6WJVFJPJUKZGRTXR5RLTANCNFSM4WS3NSRQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
The M1 architecture of your Mac is not supported, which means there is no way you can use the software until #78 is implemented on our side. My hope is that we finish this during the next two month. The alternative would be to compile opensmile yourself from sources, but there might also be issues with that, compare audeering/opensmile#61. |
Since release 2.5.0 we now support M1. Could you try to update your installation of |
I met the same problem,and I found the code isn't working in Windows system but Linux system. This should be the problem |
As the code is working with the Windows version in the Github runners, could you please specify which exact version of Windows you are using, and on which architecture/PC you are running it. |
I am using my laptop, it is DELL G3 and the Windows version is Win11 Home Edition. The test python file is running at pycharm2022 |
I try the code like below,
`import opensmile
smile = opensmile.Smail(
feature_set=opensmile.FeatureSet.ComParE_2016,
feature_level=opensmile.FeatureLevel.Functionals,
)
y = smile.process_file('wav/03a01Fa.wav')`
But get the attributeError,
How can I fix this error?
Thanks.
The text was updated successfully, but these errors were encountered: