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

run.pyやcheck.pyの実行時にエラーが出てします。 #5

Open
tobieneko opened this issue Nov 21, 2020 · 1 comment
Open

Comments

@tobieneko
Copy link

tobieneko commented Nov 21, 2020

check.pyやrun.pyを実行した際に
OSError: /usr/local/lib/python3.6/dist-packages/world4py/libworld.so: cannot open shared object file: No such file or directory
と出力され、動作できない状態となっています。
(ファイルを探してみたところ、上記の階層にちゃんと存在していました。
 ※os.path.exists(_WORLD_LIBRARY_PATH)でチェックし True が返ることを確認しました。)

realtime-yukarinが推奨環境がWindowsなのは存じておりますが、
become-yukarinでも同様に発生しているため、こちらに書かせていただきました。

解決方法などご存知でしたらご共有いただけると大変助かります。

OS:Ubuntu 18.04.5 LTS (Bionic Beaver)
Python 3.6.9

エラー全文

python3 check.py --input_path 'input.wav' --input_time_length 5 --output_path 'output.wav' --input_statistics_path './sample/input_statistics.npy' --target_statistics_path './sample/target_statistics.npy' --stage1_model_path './sample/model_stage1/predictor_260000.npz' --stage1_config_path './sample/model_stage1/config.json' --stage2_model_path './sample/model_stage2/predictor_8000.npz' --stage2_config_path './sample/model_stage2/config.json'
Traceback (most recent call last):
File "check.py", line 13, in
from realtime_voice_conversion.config import VocodeMode
File "/home/****/ドキュメント/IkeboMaster/realtime-yukarin/realtime_voice_conversion/init.py", line 1, in
from . import stream
File "/home/****/ドキュメント/IkeboMaster/realtime-yukarin/realtime_voice_conversion/stream/init.py", line 2, in
from .decode_stream import DecodeStream
File "/home/****/ドキュメント/IkeboMaster/realtime-yukarin/realtime_voice_conversion/stream/decode_stream.py", line 7, in
from ..yukarin_wrapper.vocoder import Vocoder
File "/home/****/ドキュメント/IkeboMaster/realtime-yukarin/realtime_voice_conversion/yukarin_wrapper/vocoder.py", line 5, in
from world4py.native import structures, apidefinitions, utils
File "/usr/local/lib/python3.6/dist-packages/world4py/native/init.py", line 6, in
from world4py.native import apis, tools, utils, structures
File "/usr/local/lib/python3.6/dist-packages/world4py/native/apis.py", line 6, in
from world4py.native import apidefinitions, structures, utils
File "/usr/local/lib/python3.6/dist-packages/world4py/native/apidefinitions.py", line 7, in
from world4py.native import structures, instance
File "/usr/local/lib/python3.6/dist-packages/world4py/native/instance.py", line 9, in
_WORLD = ctypes.cdll.LoadLibrary(_WORLD_LIBRARY_PATH)
File "/usr/lib/python3.6/ctypes/init.py", line 426, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python3.6/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: /usr/local/lib/python3.6/dist-packages/world4py/libworld.so: cannot open shared object file: No such file or directory

@tobieneko
Copy link
Author

補足です。
過去のissueの中で再インストールをおすすめされているものもあったため
sudo pip3 uninstall world4py
sudo pip3 --no-cache-dir install -I world4py
の流れで再インストールを試しましたが、現象は同じでした。

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