Open5
20250816_remdis_クリーン環境構築
remdisをインストールする
クリーンなpcに位置からインストール
Collecting pyopenjtalk==0.3.3 (from -r requirements.txt (line 70))
Downloading pyopenjtalk-0.3.3.tar.gz (1.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 7.6 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [37 lines of output]
setup.py:26: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
_CYTHON_INSTALLED = ver >= LooseVersion(min_cython_ver)
-- Building for: Visual Studio 17 2022
CMake Error at CMakeLists.txt:5 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
CMake is in the system path. Version: cmake version 4.1.0
CMake suite maintained and supported by Kitware (kitware.com/cmake).
Traceback (most recent call last):
File "C:\Users\hrkym\miniconda3\envs\remdis\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module>
main()
File "C:\Users\hrkym\miniconda3\envs\remdis\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hrkym\miniconda3\envs\remdis\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hrkym\AppData\Local\Temp\pip-build-env-jyhabjv0\overlay\Lib\site-packages\setuptools\build_meta.py", line 162, in get_requires_for_build_wheel
return self._get_build_requires(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hrkym\AppData\Local\Temp\pip-build-env-jyhabjv0\overlay\Lib\site-packages\setuptools\build_meta.py", line 143, in _get_build_requires
self.run_setup()
File "C:\Users\hrkym\AppData\Local\Temp\pip-build-env-jyhabjv0\overlay\Lib\site-packages\setuptools\build_meta.py", line 158, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 191, in <module>
File "C:\Users\hrkym\miniconda3\envs\remdis\Lib\subprocess.py", line 502, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['cmake', '..', '-DHTS_ENGINE_INCLUDE_DIR=.', '-DHTS_ENGINE_LIB=dummy']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
openjtalkでエラー。visual studioが新しいことに起因していそう
openjtalkのバージョン指定を解除したら、ひとまずインストール成功
vapのインストールにエラーが発生したので、以下実行
pip install lightning==2.0.9 pytorch-lightning==2.0.9
pip3 install -U torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2
VAPのrequiremetns.txtのlightnigのバージョン指定を事前に行えばよさそう?
音声対話動いた!
確かに、audio_vapの動作は不安定な感じがする
MMDAgent-EXとの連携もできた