OSError: cannot open shared object file: No such file or directory even though file is in the folder

后端 未结 1 1867
忘了有多久
忘了有多久 2021-01-18 20:03

I\'ve been fighting with this for quite some time now. I\'m trying to install Yaafe for audio feature extraction. I follow instructions here: https://github.com/Yaafe/Yaafe<

1条回答
  •  南笙
    南笙 (楼主)
    2021-01-18 21:04

    Change your code so that you print os.environ right before that exception occurs. That way you will see whether the Python process has the correct environment set or not. The other obvious thing to check are whether your Python process has sufficient permission to open and read libyaafe-python.so. Note that sudo by default limits the environment of the invoked command, for security reasons (see here, for instance).

    0 讨论(0)
提交回复
热议问题