Skip to content

Fix voicevox python interpreter (duplicate of #552)#557

Merged
k-okada merged 1 commit intojsk-ros-pkg:masterfrom
k-okada:fix-voicevox-python-path-v2
Oct 20, 2025
Merged

Fix voicevox python interpreter (duplicate of #552)#557
k-okada merged 1 commit intojsk-ros-pkg:masterfrom
k-okada:fix-voicevox-python-path-v2

Conversation

@k-okada
Copy link
Member

@k-okada k-okada commented Sep 25, 2025

  • set VENV_PATH in CMakeLists.txt and run @VEVN_PATH@/bin/python in run-voicevox.in

Close #551, duplicate of #552

you can check generated arm64 deb file at https://drive.google.com/file/d/1j_zQmOf9m4eXtVqACL-0JkHJ6lH50gLr/view?usp=sharing

@k-okada k-okada changed the title .github/workflows/config.yml: add noetic/arm64 Fix voicevox python interpreter Sep 25, 2025
@k-okada k-okada changed the title Fix voicevox python interpreter Fix voicevox python interpreter (duplicate of #552) Sep 25, 2025
@mqcmd196
Copy link
Member

Thank you for your fix. I should have checked ${PROJECT_NAME}_VENV_INSTALL/DEVEL_DIR}

Copy link
Member

@mqcmd196 mqcmd196 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add python3-setproctitle to the dependencies.

[voicevox_server-1] restarting process
process[voicevox_server-1]: started with pid [12851]
Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
ModuleNotFoundError: No module named 'setproctitle'
[voicevox_server-1] process has died [pid 12851, exit code 1, cmd /home/obinata/ros/review_ws/devel/.private/voicevox/share/voicevox/bin/run-voicevox --voicelib_dir=/home/obinata/ros/review_ws/devel/share/voicevox/voicevox_core --host localhost --port 50021 --cpu_num_threads=1 --load_all_models -- __name:=voicevox_server __log:=/home/obinata/.ros/log/7be736ce-9a74-11f0-bf7b-c11b2e5a1184/voicevox_server-1.log].
log file: /home/obinata/.ros/log/7be736ce-9a74-11f0-bf7b-c11b2e5a1184/voicevox_server-1*.log
[voicevox_server-1] restarting process
process[voicevox_server-1]: started with pid [12852]
Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
ModuleNotFoundError: No module named 'setproctitle'
[voicevox_server-1] process has died [pid 12852, exit code 1, cmd /home/obinata/ros/review_ws/devel/.private/voicevox/share/voicevox/bin/run-voicevox --voicelib_dir=/home/obinata/ros/review_ws/devel/share/voicevox/voicevox_core --host localhost --port 50021 --cpu_num_threads=1 --load_all_models -- __name:=voicevox_server __log:=/home/obinata/.ros/log/7be736ce-9a74-11f0-bf7b-c11b2e5a1184/voicevox_server-1.log].
log file: /home/obinata/.ros/log/7be736ce-9a74-11f0-bf7b-c11b2e5a1184/voicevox_server-1*.log

@k-okada
Copy link
Member Author

k-okada commented Sep 30, 2025

@mqcmd196 whcih ROS version/arch are you using?

It seems setproctitle is installed from /opt/ros/one/share/catkin_virtualenv/requirements.txt , could you also check your catkin_virtualenv version?

2025-09-25T04:10:40.0951128Z Collecting setproctitle==1.3.4 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 9))
$ apt show ros-one-catkin-virtualenv
Package: ros-one-catkin-virtualenv
Version: 0.16.0-2noble.20250906.2046
Priority: optional
Section: misc
Maintainer: Paul Bovbel <pbovbel@locusrobotics.com>
Installed-Size: 115 kB
Depends: python3-dev, python3-nose, python3-rospkg-modules, python3-venv, ros-one-rosbash, ros-one-rosgraph, virtualenv
Download-Size: 26.2 kB
APT-Manual-Installed: yes
APT-Sources: https://ros.packages.techfak.net noble/main amd64 Packages
Description: Bundle python requirements in a catkin package via virtualenv.

24.04 x86 (https://productionresultssa12.blob.core.windows.net/actions-results/30aee3db-55a0-4f09-8211-b0305e782b42/workflow-job-run-4cec0e1f-10cb-5570-9aa6-64b0ff22f6d4/logs/job/job-logs.txt?rsct=text%2Fplain&se=2025-09-30T09%3A43%3A23Z&sig=1s%2BYu5JDEPaxOPJA99iDPluSh3XbxSOc4S32jYwiDkA%3D&ske=2025-09-30T18%3A02%3A34Z&skoid=ca7593d4-ee42-46cd-af88-8b886a2f84eb&sks=b&skt=2025-09-30T06%3A02%3A34Z&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skv=2025-11-05&sp=r&spr=https&sr=b&st=2025-09-30T09%3A33%3A18Z&sv=2025-11-05)

retain the existing behavior.�[0m
2025-09-25T04:10:45.8527287Z altgraph==0.17.4          �[32m# via -r requirements_python3.12.txt, pyinstaller�[0m�[0m
2025-09-25T04:10:45.8527909Z annotated-types==0.7.0    �[32m# via -r requirements_python3.12.txt, pydantic�[0m�[0m
2025-09-25T04:10:45.8528588Z anyio==4.8.0              �[32m# via -r requirements_python3.12.txt, httpx, starlette�[0m�[0m
2025-09-25T04:10:45.8529189Z certifi==2025.8.3         �[32m# via httpcore, httpx�[0m�[0m
2025-09-25T04:10:45.8529723Z cffi==1.17.1              �[32m# via -r requirements_python3.12.txt, soundfile�[0m�[0m
2025-09-25T04:10:45.8530246Z click==8.1.8              �[32m# via -r requirements_python3.12.txt, uvicorn�[0m�[0m
2025-09-25T04:10:45.8530826Z fastapi-slim==0.115.8     �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:45.8531457Z h11==0.14.0               �[32m# via -r requirements_python3.12.txt, httpcore, uvicorn�[0m�[0m
2025-09-25T04:10:45.8532008Z httpcore==1.0.8           �[32m# via httpx�[0m�[0m
2025-09-25T04:10:45.8532499Z httpx==0.28.1             �[32m# via voicevox-client�[0m�[0m
2025-09-25T04:10:45.8532989Z idna==3.10                �[32m# via -r requirements_python3.12.txt, anyio, httpx�[0m�[0m
2025-09-25T04:10:45.8533517Z jinja2==3.1.5             �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:45.8534230Z markupsafe==3.0.2         �[32m# via -r requirements_python3.12.txt, jinja2�[0m�[0m
2025-09-25T04:10:45.8535107Z numpy==2.2.3              �[32m# via -r requirements_python3.12.txt, pyopenjtalk, pyworld, soundfile, soxr�[0m�[0m
2025-09-25T04:10:45.8535924Z packaging==24.2           �[32m# via -r requirements_python3.12.txt, pyinstaller-hooks-contrib�[0m�[0m
2025-09-25T04:10:45.8536547Z platformdirs==4.3.6       �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:45.8537052Z pycparser==2.22           �[32m# via -r requirements_python3.12.txt, cffi�[0m�[0m
2025-09-25T04:10:45.8537644Z pydantic==2.10.6          �[32m# via -r requirements_python3.12.txt, fastapi-slim�[0m�[0m
2025-09-25T04:10:45.8538362Z pydantic-core==2.27.2     �[32m# via -r requirements_python3.12.txt, pydantic�[0m�[0m
2025-09-25T04:10:45.8538973Z pyinstaller==5.13.2       �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:45.8539650Z pyinstaller-hooks-contrib==2025.1  �[32m# via -r requirements_python3.12.txt, pyinstaller�[0m�[0m
2025-09-25T04:10:45.8540835Z pyopenjtalk @ git+https://github.com/k-okada/pyopenjtalk@2792f475d32e8375bdf377d13c459ff9f198be04  �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:45.8541726Z python-multipart==0.0.20  �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:45.8542296Z pyworld==0.3.5            �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:45.8542704Z pyyaml==6.0.2             �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:45.8543218Z semver==3.0.4             �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:45.8543760Z six==1.17.0               �[32m# via -r requirements_python3.12.txt, pyopenjtalk�[0m�[0m
2025-09-25T04:10:45.8544470Z sniffio==1.3.1            �[32m# via -r requirements_python3.12.txt, anyio�[0m�[0m
2025-09-25T04:10:45.8545070Z soundfile==0.13.1         �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:45.8545637Z soxr==0.5.0.post1         �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:45.8546234Z starlette==0.45.3         �[32m# via -r requirements_python3.12.txt, fastapi-slim�[0m�[0m
2025-09-25T04:10:45.8546830Z tqdm==4.67.1              �[32m# via -r requirements_python3.12.txt, pyopenjtalk�[0m�[0m
2025-09-25T04:10:45.8547729Z typing-extensions==4.12.2  �[32m# via -r requirements_python3.12.txt, anyio, fastapi-slim, pydantic, pydantic-core, voicevox-client�[0m�[0m
2025-09-25T04:10:45.8548508Z uvicorn==0.34.0           �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:45.8548948Z voicevox-client==0.1.5    �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:45.8549272Z �[0m
2025-09-25T04:10:45.8549636Z �[32m# The following packages are considered to be unsafe in a requirements file:�[0m�[0m
2025-09-25T04:10:45.8550328Z �[32m# setuptools�[0m�[0m
2025-09-25T04:10:45.8550832Z [ 72%] �[34m�[1mInstall requirements to /home/runner/ws/build/voicevox/venv�[0m
2025-09-25T04:10:45.8552187Z catkin_generated/env_cached.sh rosrun catkin_virtualenv venv_install venv --requirements /opt/ros/one/share/catkin_virtualenv/requirements.txt /home/runner/ws/src/jsk_3rdparty/3rdparty/voicevox/requirements.txt --extra-pip-args \"-qq\ --retries\ 10\ --timeout\ 30\"
2025-09-25T04:10:45.8553652Z Using pip 24.0 from /home/runner/ws/build/voicevox/venv/lib/python3.12/site-packages/pip (python 3.12)
2025-09-25T04:10:45.8554494Z Collecting catkin-pkg==1.0.0 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 1))
2025-09-25T04:10:45.8555787Z   Obtaining dependency information for catkin-pkg==1.0.0 from https://files.pythonhosted.org/packages/91/f7/86d933ec31f00450f513ef110fa9c0e5da4c6e2c992933a35c8d8fe7d01f/catkin_pkg-1.0.0-py3-none-any.whl.metadata
2025-09-25T04:10:45.8569120Z   Downloading catkin_pkg-1.0.0-py3-none-any.whl.metadata (1.3 kB)
2025-09-25T04:10:45.8569882Z Collecting distro==1.9.0 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 2))
2025-09-25T04:10:45.8571095Z   Obtaining dependency information for distro==1.9.0 from https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl.metadata
2025-09-25T04:10:45.8572380Z   Downloading distro-1.9.0-py3-none-any.whl.metadata (6.8 kB)
2025-09-25T04:10:45.8573013Z Collecting docutils==0.20.1 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 3))
2025-09-25T04:10:45.8574445Z   Obtaining dependency information for docutils==0.20.1 from https://files.pythonhosted.org/packages/26/87/f238c0670b94533ac0353a4e2a1a771a0cc73277b88bff23d3ae35a256c1/docutils-0.20.1-py3-none-any.whl.metadata
2025-09-25T04:10:45.8575673Z   Downloading docutils-0.20.1-py3-none-any.whl.metadata (2.8 kB)
2025-09-25T04:10:45.8576213Z Collecting nose==1.3.7 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 4))
2025-09-25T04:10:45.8577376Z   Obtaining dependency information for nose==1.3.7 from https://files.pythonhosted.org/packages/15/d8/dd071918c040f50fa1cf80da16423af51ff8ce4a0f2399b7bf8de45ac3d9/nose-1.3.7-py3-none-any.whl.metadata
2025-09-25T04:10:45.8578487Z   Downloading nose-1.3.7-py3-none-any.whl.metadata (1.7 kB)
2025-09-25T04:10:45.8579036Z Collecting pyparsing==3.1.1 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 5))
2025-09-25T04:10:45.8580231Z   Obtaining dependency information for pyparsing==3.1.1 from https://files.pythonhosted.org/packages/39/92/8486ede85fcc088f1b3dba4ce92dd29d126fd96b0008ea213167940a2475/pyparsing-3.1.1-py3-none-any.whl.metadata
2025-09-25T04:10:45.8581327Z   Downloading pyparsing-3.1.1-py3-none-any.whl.metadata (5.1 kB)
2025-09-25T04:10:45.8581890Z Collecting python-dateutil==2.8.2 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 6))
2025-09-25T04:10:45.8583073Z   Obtaining dependency information for python-dateutil==2.8.2 from https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl.metadata
2025-09-25T04:10:45.8584561Z   Downloading python_dateutil-2.8.2-py2.py3-none-any.whl.metadata (8.2 kB)
2025-09-25T04:10:45.8585230Z Collecting pyyaml==6.0.1 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 7))
2025-09-25T04:10:45.8586588Z   Obtaining dependency information for pyyaml==6.0.1 from https://files.pythonhosted.org/packages/b4/33/720548182ffa8344418126017aa1d4ab4aeec9a2275f04ce3f3573d8ace8/PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
2025-09-25T04:10:45.8587993Z   Downloading PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
2025-09-25T04:10:45.8588727Z Collecting rospkg==1.5.1 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 8))
2025-09-25T04:10:45.8589737Z   Obtaining dependency information for rospkg==1.5.1 from https://files.pythonhosted.org/packages/1c/e2/772f8cff8172a612823755035073b00753613c24af0ed6d3bae215021608/rospkg-1.5.1-py3-none-any.whl.metadata
2025-09-25T04:10:45.8590978Z   Downloading rospkg-1.5.1-py3-none-any.whl.metadata (816 bytes)
2025-09-25T04:10:45.8591629Z Collecting setproctitle==1.3.4 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 9))
2025-09-25T04:10:45.8593071Z   Obtaining dependency information for setproctitle==1.3.4 from https://files.pythonhosted.org/packages/4b/cf/4f19cdc7fdff3eaeb3064ce6eeb27c63081dba3123fbf904ac6bf0de440c/setproctitle-1.3.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
2025-09-25T04:10:45.8595052Z   Downloading setproctitle-1.3.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (10 kB)
2025-09-25T04:10:45.8595913Z Collecting six==1.16.0 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 10))

24.04 arm64 hhttps://productionresultssa12.blob.core.windows.net/actions-results/30aee3db-55a0-4f09-8211-b0305e782b42/workflow-job-run-84734fde-4be0-5b78-82c9-589c95d02508/logs/job/job-logs.txt?rsct=text%2Fplain&se=2025-09-30T09%3A44%3A34Z&sig=ZHPO3oZ25N6iFw5qIKZb9MYKtOTScivuVnQYxSfyBh4%3D&ske=2025-09-30T18%3A10%3A32Z&skoid=ca7593d4-ee42-46cd-af88-8b886a2f84eb&sks=b&skt=2025-09-30T06%3A10%3A32Z&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skv=2025-11-05&sp=r&spr=https&sr=b&st=2025-09-30T09%3A34%3A29Z&sv=2025-11-05

2025-09-25T04:10:40.0906737Z -- [download 50% complete]
2025-09-25T04:10:40.0907752Z �[33mWARNING: --strip-extras is becoming the default in version 8.0.0. To silence this warning, either use --strip-extras to opt into the new default or use --no-strip-extras to retain the existing behavior.�[0m
2025-09-25T04:10:40.0908658Z altgraph==0.17.4          �[32m# via -r requirements_python3.12.txt, pyinstaller�[0m�[0m
2025-09-25T04:10:40.0909145Z annotated-types==0.7.0    �[32m# via -r requirements_python3.12.txt, pydantic�[0m�[0m
2025-09-25T04:10:40.0909636Z anyio==4.8.0              �[32m# via -r requirements_python3.12.txt, httpx, starlette�[0m�[0m
2025-09-25T04:10:40.0910049Z certifi==2025.8.3         �[32m# via httpcore, httpx�[0m�[0m
2025-09-25T04:10:40.0910446Z cffi==1.17.1              �[32m# via -r requirements_python3.12.txt, soundfile�[0m�[0m
2025-09-25T04:10:40.0910873Z click==8.1.8              �[32m# via -r requirements_python3.12.txt, uvicorn�[0m�[0m
2025-09-25T04:10:40.0911306Z fastapi-slim==0.115.8     �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:40.0911767Z h11==0.14.0               �[32m# via -r requirements_python3.12.txt, httpcore, uvicorn�[0m�[0m
2025-09-25T04:10:40.0912170Z httpcore==1.0.8           �[32m# via httpx�[0m�[0m
2025-09-25T04:10:40.0912498Z httpx==0.28.1             �[32m# via voicevox-client�[0m�[0m
2025-09-25T04:10:40.0912890Z idna==3.10                �[32m# via -r requirements_python3.12.txt, anyio, httpx�[0m�[0m
2025-09-25T04:10:40.0913300Z jinja2==3.1.5             �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:40.0913713Z markupsafe==3.0.2         �[32m# via -r requirements_python3.12.txt, jinja2�[0m�[0m
2025-09-25T04:10:40.0914533Z numpy==2.2.3              �[32m# via -r requirements_python3.12.txt, pyopenjtalk, pyworld, soundfile, soxr�[0m�[0m
2025-09-25T04:10:40.0915138Z packaging==24.2           �[32m# via -r requirements_python3.12.txt, pyinstaller-hooks-contrib�[0m�[0m
2025-09-25T04:10:40.0915880Z platformdirs==4.3.6       �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:40.0916321Z pycparser==2.22           �[32m# via -r requirements_python3.12.txt, cffi�[0m�[0m
2025-09-25T04:10:40.0916862Z pydantic==2.10.6          �[32m# via -r requirements_python3.12.txt, fastapi-slim�[0m�[0m
2025-09-25T04:10:40.0917454Z pydantic-core==2.27.2     �[32m# via -r requirements_python3.12.txt, pydantic�[0m�[0m
2025-09-25T04:10:40.0917903Z pyinstaller==5.13.2       �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:40.0918422Z pyinstaller-hooks-contrib==2025.1  �[32m# via -r requirements_python3.12.txt, pyinstaller�[0m�[0m
2025-09-25T04:10:40.0919261Z pyopenjtalk @ git+https://github.com/k-okada/pyopenjtalk@2792f475d32e8375bdf377d13c459ff9f198be04  �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:40.0919967Z python-multipart==0.0.20  �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:40.0920391Z pyworld==0.3.5            �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:40.0920785Z pyyaml==6.0.2             �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:40.0921375Z semver==3.0.4             �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:40.0921793Z six==1.17.0               �[32m# via -r requirements_python3.12.txt, pyopenjtalk�[0m�[0m
2025-09-25T04:10:40.0922220Z sniffio==1.3.1            �[32m# via -r requirements_python3.12.txt, anyio�[0m�[0m
2025-09-25T04:10:40.0922633Z soundfile==0.13.1         �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:40.0923037Z soxr==0.5.0.post1         �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:40.0923485Z starlette==0.45.3         �[32m# via -r requirements_python3.12.txt, fastapi-slim�[0m�[0m
2025-09-25T04:10:40.0923943Z tqdm==4.67.1              �[32m# via -r requirements_python3.12.txt, pyopenjtalk�[0m�[0m
2025-09-25T04:10:40.0924891Z typing-extensions==4.12.2  �[32m# via -r requirements_python3.12.txt, anyio, fastapi-slim, pydantic, pydantic-core, voicevox-client�[0m�[0m
2025-09-25T04:10:40.0925653Z uvicorn==0.34.0           �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:40.0926136Z voicevox-client==0.1.5    �[32m# via -r requirements_python3.12.txt�[0m�[0m
2025-09-25T04:10:40.0926437Z �[0m
2025-09-25T04:10:40.0926768Z �[32m# The following packages are considered to be unsafe in a requirements file:�[0m�[0m
2025-09-25T04:10:40.0927141Z �[32m# setuptools�[0m�[0m
2025-09-25T04:10:40.0927316Z -- [download 51% complete]
2025-09-25T04:10:40.0927495Z -- [download 52% complete]
2025-09-25T04:10:40.0927673Z -- [download 53% complete]
2025-09-25T04:10:40.0927846Z -- [download 54% complete]
2025-09-25T04:10:40.0928179Z [ 44%] �[34m�[1mInstall requirements to /home/runner/ws/build/voicevox/venv�[0m
2025-09-25T04:10:40.0929205Z catkin_generated/env_cached.sh rosrun catkin_virtualenv venv_install venv --requirements /opt/ros/one/share/catkin_virtualenv/requirements.txt /home/runner/ws/src/jsk_3rdparty/3rdparty/voicevox/requirements.txt --extra-pip-args \"-qq\ --retries\ 10\ --timeout\ 30\"
2025-09-25T04:10:40.0930400Z Using pip 24.0 from /home/runner/ws/build/voicevox/venv/lib/python3.12/site-packages/pip (python 3.12)
2025-09-25T04:10:40.0930976Z Collecting catkin-pkg==1.0.0 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 1))
2025-09-25T04:10:40.0932033Z   Obtaining dependency information for catkin-pkg==1.0.0 from https://files.pythonhosted.org/packages/91/f7/86d933ec31f00450f513ef110fa9c0e5da4c6e2c992933a35c8d8fe7d01f/catkin_pkg-1.0.0-py3-none-any.whl.metadata
2025-09-25T04:10:40.0932918Z   Downloading catkin_pkg-1.0.0-py3-none-any.whl.metadata (1.3 kB)
2025-09-25T04:10:40.0933362Z Collecting distro==1.9.0 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 2))
2025-09-25T04:10:40.0934451Z   Obtaining dependency information for distro==1.9.0 from https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl.metadata
2025-09-25T04:10:40.0935468Z   Downloading distro-1.9.0-py3-none-any.whl.metadata (6.8 kB)
2025-09-25T04:10:40.0935749Z -- [download 55% complete]
2025-09-25T04:10:40.0936172Z Collecting docutils==0.20.1 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 3))
2025-09-25T04:10:40.0937116Z   Obtaining dependency information for docutils==0.20.1 from https://files.pythonhosted.org/packages/26/87/f238c0670b94533ac0353a4e2a1a771a0cc73277b88bff23d3ae35a256c1/docutils-0.20.1-py3-none-any.whl.metadata
2025-09-25T04:10:40.0937968Z   Downloading docutils-0.20.1-py3-none-any.whl.metadata (2.8 kB)
2025-09-25T04:10:40.0938429Z Collecting nose==1.3.7 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 4))
2025-09-25T04:10:40.0939312Z   Obtaining dependency information for nose==1.3.7 from https://files.pythonhosted.org/packages/15/d8/dd071918c040f50fa1cf80da16423af51ff8ce4a0f2399b7bf8de45ac3d9/nose-1.3.7-py3-none-any.whl.metadata
2025-09-25T04:10:40.0940115Z   Downloading nose-1.3.7-py3-none-any.whl.metadata (1.7 kB)
2025-09-25T04:10:40.0940555Z Collecting pyparsing==3.1.1 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 5))
2025-09-25T04:10:40.0941585Z   Obtaining dependency information for pyparsing==3.1.1 from https://files.pythonhosted.org/packages/39/92/8486ede85fcc088f1b3dba4ce92dd29d126fd96b0008ea213167940a2475/pyparsing-3.1.1-py3-none-any.whl.metadata
2025-09-25T04:10:40.0942447Z   Downloading pyparsing-3.1.1-py3-none-any.whl.metadata (5.1 kB)
2025-09-25T04:10:40.0942930Z Collecting python-dateutil==2.8.2 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 6))
2025-09-25T04:10:40.0943948Z   Obtaining dependency information for python-dateutil==2.8.2 from https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl.metadata
2025-09-25T04:10:40.0945263Z ...............................................................................
2025-09-25T04:10:40.0945626Z   Downloading python_dateutil-2.8.2-py2.py3-none-any.whl.metadata (8.2 kB)
2025-09-25T04:10:40.0946226Z Collecting pyyaml==6.0.1 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 7))
2025-09-25T04:10:40.0947283Z   Obtaining dependency information for pyyaml==6.0.1 from https://files.pythonhosted.org/packages/c7/4c/4a2908632fc980da6d918b9de9c1d9d7d7e70b2672b1ad5166ed27841ef7/PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata
2025-09-25T04:10:40.0948371Z   Downloading PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (2.1 kB)
2025-09-25T04:10:40.0948930Z Collecting rospkg==1.5.1 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 8))
2025-09-25T04:10:40.0949835Z   Obtaining dependency information for rospkg==1.5.1 from https://files.pythonhosted.org/packages/1c/e2/772f8cff8172a612823755035073b00753613c24af0ed6d3bae215021608/rospkg-1.5.1-py3-none-any.whl.metadata
2025-09-25T04:10:40.0950663Z   Downloading rospkg-1.5.1-py3-none-any.whl.metadata (816 bytes)
2025-09-25T04:10:40.0951128Z Collecting setproctitle==1.3.4 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 9))
2025-09-25T04:10:40.0952245Z   Obtaining dependency information for setproctitle==1.3.4 from https://files.pythonhosted.org/packages/86/ed/8031871d275302054b2f1b94b7cf5e850212cc412fe968f0979e64c1b838/setproctitle-1.3.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata
2025-09-25T04:10:40.0953395Z   Downloading setproctitle-1.3.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (10 kB)
2025-09-25T04:10:40.0953971Z Collecting six==1.16.0 (from -r /opt/ros/one/share/catkin_virtualenv/requirements.txt (line 10))

@k-okada k-okada merged commit b199c88 into jsk-ros-pkg:master Oct 20, 2025
27 of 28 checks passed
@k-okada k-okada deleted the fix-voicevox-python-path-v2 branch October 20, 2025 01:35
@Michi-Tsubaki
Copy link

The apt version of catkin_virtualenv on Ubuntu20.04 / noetic is
0.6.1-2focal.20250426.230630 (https://packages.ros.org/ros/ubuntu/dists/focal/main/binary-amd64/Packages) and in that version,
requiremtns.in is https://github.com/locusrobotics/catkin_virtualenv/blob/803ae4eda00047759f3d05169e1d050e27f5a04c/catkin_virtualenv/requirements.in

catkin-pkg
nose
rospkg

(As @k-okada said, the latest version is

catkin-pkg
nose
rospkg
setproctitle

)

So when I run rosdep install --from-path <voicevox path> -i -r -y on ubuntu 20.04 ROS noetic (なぜnoeticかということで疑問に思われるかもしれないので補足しておくと,usbデバイスを使いすぎてポートが足りなかったので昨日からハンドだけ一時的に別PCで立ち上げていてついでにそのPCでvoicevoxをbuildしました), the catkin virtualenv is installed, but the same error as @mqcmd196 's occurred

[voicevox_server-1] restarting process
process[voicevox_server-1]: started with pid [7818]
Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
ModuleNotFoundError: No module named 'setproctitle'
[voicevox_server-1] process has died [pid 7818, exit code 1, cmd /home/leus/catkin_ws/devel/.private/voicevox/share/voicevox/bin/run-voicevox --voicelib_dir=/home/leus/catkin_ws/devel/share/voicevox/voicevox_core --host localhost --port 50021 --cpu_num_threads=1 --load_all_models -- __name:=voicevox_server __log:=/home/leus/.ros/log/2abddeec-c107-11f0-a54b-000bab77d7ee/voicevox_server-1.log].
log file: /home/leus/.ros/log/2abddeec-c107-11f0-a54b-000bab77d7ee/voicevox_server-1*.log
[voicevox_server-1] restarting process
process[voicevox_server-1]: started with pid [7822]
Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
ModuleNotFoundError: No module named 'setproctitle'
[voicevox_server-1] process has died [pid 7822, exit code 1, cmd /home/leus/catkin_ws/devel/.private/voicevox/share/voicevox/bin/run-voicevox --voicelib_dir=/home/leus/catkin_ws/devel/share/voicevox/voicevox_core --host localhost --port 50021 --cpu_num_threads=1 --load_all_models -- __name:=voicevox_server __log:=/home/leus/.ros/log/2abddeec-c107-11f0-a54b-000bab77d7ee/voicevox_server-1.log].
log file: /home/leus/.ros/log/2abddeec-c107-11f0-a54b-000bab77d7ee/voicevox_server-1*.log

I manually install 'setproctitle' by source ~/catkin _ws/devel/.private/...../venv/bin/activate pip install setproctitle and
setproctitle==1.3.7 is installed. I succeeded to use voicevox then.

Anyway, I think we can add setproctitle to voicevox/requiements_python3.8.txt
https://github.com/jsk-ros-pkg/jsk_3rdparty/blob/master/3rdparty/voicevox/requirements_python3.8.txt

But the discussions in this PR suggests that it shouldn't ? I think adding this requirements will not harm to venv environment even for those who use higher version of catkin_virtualenv.

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

Successfully merging this pull request may close these issues.

Cannot start voicevox

3 participants