Advertisement
Guest User

SUSI.AI installation on Ubuntu 18.04

a guest
Dec 25th, 2019
571
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.84 KB | None | 0 0
  1. norbert@Ubuntu1804:~/susi_installer$ ./install-requirements.sh --system-install
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. python3-setuptools is already the newest version (39.0.1-2).
  6. python3-setuptools set to manually installed.
  7. flac is already the newest version (1.3.2-1).
  8. libatlas3-base is already the newest version (3.10.3-5).
  9. default-jre-headless is already the newest version (2:1.11-68ubuntu1~18.04.1).
  10. default-jre-headless set to manually installed.
  11. git is already the newest version (1:2.17.1-1ubuntu0.5).
  12. python3 is already the newest version (3.6.7-1~18.04).
  13. python3 set to manually installed.
  14. wget is already the newest version (1.19.4-1ubuntu2.2).
  15. sox is already the newest version (14.4.2-3ubuntu0.18.04.1).
  16. vlc-bin is already the newest version (3.0.8-0ubuntu18.04.1).
  17. The following additional packages will be installed:
  18. python-pip-whl
  19. Recommended packages:
  20. python3-dev python3-wheel
  21. The following NEW packages will be installed:
  22. python-pip-whl python3-pip
  23. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  24. Need to get 1,766 kB of archives.
  25. After this operation, 2,457 kB of additional disk space will be used.
  26. Get:1 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python-pip-whl all 9.0.1-2.3~ubuntu1.18.04.1 [1,653 kB]
  27. Get:2 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-pip all 9.0.1-2.3~ubuntu1.18.04.1 [114 kB]
  28. Fetched 1,766 kB in 0s (8,405 kB/s)
  29. Selecting previously unselected package python-pip-whl.
  30. (Reading database ... 159192 files and directories currently installed.)
  31. Preparing to unpack .../python-pip-whl_9.0.1-2.3~ubuntu1.18.04.1_all.deb ...
  32. Unpacking python-pip-whl (9.0.1-2.3~ubuntu1.18.04.1) ...
  33. Selecting previously unselected package python3-pip.
  34. Preparing to unpack .../python3-pip_9.0.1-2.3~ubuntu1.18.04.1_all.deb ...
  35. Unpacking python3-pip (9.0.1-2.3~ubuntu1.18.04.1) ...
  36. Setting up python-pip-whl (9.0.1-2.3~ubuntu1.18.04.1) ...
  37. Setting up python3-pip (9.0.1-2.3~ubuntu1.18.04.1) ...
  38. Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
  39. Reading package lists... Done
  40. Building dependency tree
  41. Reading state information... Done
  42. Suggested packages:
  43. python-pyaudio-doc
  44. The following NEW packages will be installed:
  45. python3-levenshtein python3-pyaudio
  46. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  47. Need to get 57.6 kB of archives.
  48. After this operation, 214 kB of additional disk space will be used.
  49. Get:1 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 python3-levenshtein amd64 0.12.0-2build3 [33.5 kB]
  50. Get:2 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 python3-pyaudio amd64 0.2.11-1build2 [24.2 kB]
  51. Fetched 57.6 kB in 0s (161 kB/s)
  52. Selecting previously unselected package python3-levenshtein.
  53. (Reading database ... 159296 files and directories currently installed.)
  54. Preparing to unpack .../python3-levenshtein_0.12.0-2build3_amd64.deb ...
  55. Unpacking python3-levenshtein (0.12.0-2build3) ...
  56. Selecting previously unselected package python3-pyaudio.
  57. Preparing to unpack .../python3-pyaudio_0.2.11-1build2_amd64.deb ...
  58. Unpacking python3-pyaudio (0.2.11-1build2) ...
  59. Setting up python3-levenshtein (0.12.0-2build3) ...
  60. Setting up python3-pyaudio (0.2.11-1build2) ...
  61. pip3 version `9\' is less than the required version number 19
  62. Will update pip3 using itself.
  63. Collecting pip
  64. Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB)
  65. 100% |████████████████████████████████| 1.4MB 74.7MB/s
  66. Installing collected packages: pip
  67. Found existing installation: pip 9.0.1
  68. Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
  69. Successfully installed pip-19.3.1
  70. Looking in indexes: https://pypi.org/simple, https://repo.fury.io/fossasia/, https://repo.fury.io/fossasia/
  71. Collecting pyalsaaudio
  72. Downloading https://repo.fury.io/fossasia/-/ver_1zNYUH/pyalsaaudio-0.8.4-cp36-cp36m-linux_x86_64.whl (57kB)
  73. |████████████████████████████████| 61kB 166kB/s
  74. Collecting pafy
  75. Downloading https://files.pythonhosted.org/packages/74/69/829919eeadff695338f98fa12bb99e45490761a2010c8d688d88b6df194a/pafy-0.5.5-py2.py3-none-any.whl
  76. Collecting mutagen
  77. Downloading https://files.pythonhosted.org/packages/08/34/e68d377ab1375af21feef9226d778ed3e6618b2f572538a85fc7c8ae9a4b/mutagen-1.43.0-py2.py3-none-any.whl (212kB)
  78. |████████████████████████████████| 215kB 4.8MB/s
  79. Collecting flask
  80. Downloading https://files.pythonhosted.org/packages/9b/93/628509b8d5dc749656a9641f4caf13540e2cdec85276964ff8f43bbb1d3b/Flask-1.1.1-py2.py3-none-any.whl (94kB)
  81. |████████████████████████████████| 102kB 52.7MB/s
  82. Collecting Werkzeug>=0.15
  83. Downloading https://files.pythonhosted.org/packages/ce/42/3aeda98f96e85fd26180534d36570e4d18108d62ae36f87694b476b83d6f/Werkzeug-0.16.0-py2.py3-none-any.whl (327kB)
  84. |████████████████████████████████| 327kB 28.1MB/s
  85. Collecting Jinja2>=2.10.1
  86. Downloading https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl (125kB)
  87. |████████████████████████████████| 133kB 11.2MB/s
  88. Collecting itsdangerous>=0.24
  89. Downloading https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
  90. Collecting click>=5.1
  91. Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
  92. |████████████████████████████████| 81kB 22.7MB/s
  93. Collecting MarkupSafe>=0.23
  94. Downloading https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
  95. Installing collected packages: pyalsaaudio, pafy, mutagen, Werkzeug, MarkupSafe, Jinja2, itsdangerous, click, flask
  96. Successfully installed Jinja2-2.10.3 MarkupSafe-1.1.1 Werkzeug-0.16.0 click-7.0 flask-1.1.1 itsdangerous-1.1.0 mutagen-1.43.0 pafy-0.5.5 pyalsaaudio-0.8.4
  97. Looking in indexes: https://pypi.org/simple, https://repo.fury.io/fossasia/, https://repo.fury.io/fossasia/
  98. Requirement already satisfied: requests>=2.13.0 in /usr/lib/python3/dist-packages (from -r /tmp/tmp.slgDkwfHia/susi_python:requirements.txt (line 1)) (2.18.4)
  99. Collecting youtube-dl
  100. Downloading https://files.pythonhosted.org/packages/0c/c7/eb7f55e7bd833cd09ed20c767e37240a39c296eb1703b71b48c0e27d99e0/youtube_dl-2019.12.25-py2.py3-none-any.whl (1.8MB)
  101. |████████████████████████████████| 1.8MB 2.8MB/s
  102. Collecting geocoder
  103. Downloading https://files.pythonhosted.org/packages/4f/6b/13166c909ad2f2d76b929a4227c952630ebaf0d729f6317eb09cbceccbab/geocoder-1.38.1-py2.py3-none-any.whl (98kB)
  104. |████████████████████████████████| 102kB 20.7MB/s
  105. Requirement already satisfied: click in /usr/local/lib/python3.6/dist-packages (from geocoder->-r /tmp/tmp.slgDkwfHia/susi_python:requirements.txt (line 3)) (7.0)
  106. Collecting ratelim
  107. Downloading https://files.pythonhosted.org/packages/f2/98/7e6d147fd16a10a5f821db6e25f192265d6ecca3d82957a4fdd592cad49c/ratelim-0.1.6-py2.py3-none-any.whl
  108. Collecting future
  109. Downloading https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz (829kB)
  110. |████████████████████████████████| 829kB 5.7MB/s
  111. Requirement already satisfied: six in /usr/lib/python3/dist-packages (from geocoder->-r /tmp/tmp.slgDkwfHia/susi_python:requirements.txt (line 3)) (1.11.0)
  112. Collecting decorator
  113. Downloading https://files.pythonhosted.org/packages/8f/b7/f329cfdc75f3d28d12c65980e4469e2fa373f1953f5df6e370e84ea2e875/decorator-4.4.1-py2.py3-none-any.whl
  114. Installing collected packages: youtube-dl, decorator, ratelim, future, geocoder
  115. Running setup.py install for future ... done
  116. Successfully installed decorator-4.4.1 future-0.18.2 geocoder-1.38.1 ratelim-0.1.6 youtube-dl-2019.12.25
  117. Looking in indexes: https://pypi.org/simple, https://repo.fury.io/fossasia/, https://repo.fury.io/fossasia/
  118. Collecting async_promises
  119. Downloading https://repo.fury.io/fossasia/-/ver_Q050A/async_promises-1.1.1-py3-none-any.whl
  120. Collecting colorlog
  121. Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
  122. Collecting google_speech
  123. Downloading https://repo.fury.io/fossasia/-/ver_1ViunI/google_speech-1.1.0-py3-none-any.whl
  124. Collecting json_config
  125. Downloading https://files.pythonhosted.org/packages/6a/1e/3d254b26a773d1ee4ddf110ab5c947b22b6634a04503811294ac9497c30b/json_config-2.0.1-py2.py3-none-any.whl
  126. Requirement already satisfied: pafy in /usr/local/lib/python3.6/dist-packages (from -r /tmp/tmp.slgDkwfHia/susi_linux:requirements.txt (line 5)) (0.5.5)
  127. Collecting pocketsphinx==0.1.15
  128. Downloading https://repo.fury.io/fossasia/-/ver_uoYDj/pocketsphinx-0.1.15-cp36-cp36m-linux_x86_64.whl (30.1MB)
  129. |████████████████████████████████| 30.1MB 3.8MB/s
  130. Requirement already satisfied: pyalsaaudio in /usr/local/lib/python3.6/dist-packages (from -r /tmp/tmp.slgDkwfHia/susi_linux:requirements.txt (line 7)) (0.8.4)
  131. Requirement already satisfied: pyaudio in /usr/lib/python3/dist-packages (from -r /tmp/tmp.slgDkwfHia/susi_linux:requirements.txt (line 8)) (0.2.11)
  132. Requirement already satisfied: python-Levenshtein in /usr/lib/python3/dist-packages (from -r /tmp/tmp.slgDkwfHia/susi_linux:requirements.txt (line 9)) (0.12.0)
  133. Collecting python-vlc
  134. Downloading https://files.pythonhosted.org/packages/23/12/fd44ed5d105891a061b1aad7d554905e4586a3b43766250616a565d8c5c9/python_vlc-3.0.7110-py3-none-any.whl (80kB)
  135. |████████████████████████████████| 81kB 3.9MB/s
  136. Collecting requests_futures
  137. Downloading https://files.pythonhosted.org/packages/47/c4/fd48d1ac5110a5457c71ac7cc4caa93da10a80b8de71112430e439bdee22/requests-futures-1.0.0.tar.gz
  138. Collecting rx>=3.0.0a0
  139. Downloading https://files.pythonhosted.org/packages/5b/ad/d93165ba4d6e02f6f6c7e84262444b62b646d5dd7d3a27f16530a2b1a8e5/Rx-3.0.1-py3-none-any.whl (195kB)
  140. |████████████████████████████████| 204kB 10.7MB/s
  141. Collecting service_identity
  142. Downloading https://files.pythonhosted.org/packages/e9/7c/2195b890023e098f9618d43ebc337d83c8b38d414326685339eb024db2f6/service_identity-18.1.0-py2.py3-none-any.whl
  143. Collecting snowboy==1.3.0
  144. Downloading https://repo.fury.io/fossasia/-/ver_FfFHr/snowboy-1.3.0-cp36-cp36m-linux_x86_64.whl (5.8MB)
  145. |████████████████████████████████| 5.8MB 671kB/s
  146. Collecting speechRecognition==3.8.1
  147. Downloading https://files.pythonhosted.org/packages/26/e1/7f5678cd94ec1234269d23756dbdaa4c8cfaed973412f88ae8adf7893a50/SpeechRecognition-3.8.1-py2.py3-none-any.whl (32.8MB)
  148. |████████████████████████████████| 32.8MB 14.7MB/s
  149. Collecting spidev
  150. Downloading https://repo.fury.io/fossasia/-/ver_TI7vR/spidev-3.4-cp36-cp36m-linux_x86_64.whl
  151. Collecting watson-developer-cloud
  152. Downloading https://files.pythonhosted.org/packages/fc/a5/a89fc49bd82eb6ea569e45b43383c28cd51b5076f43010dcc3331c137ff5/watson-developer-cloud-2.10.1.tar.gz (248kB)
  153. |████████████████████████████████| 256kB 23.5MB/s
  154. Collecting websocket-server
  155. Downloading https://repo.fury.io/fossasia/-/ver_4MB61/websocket_server-0.4-py3-none-any.whl
  156. Requirement already satisfied: youtube-dl>=2019.6.21 in /usr/local/lib/python3.6/dist-packages (from -r /tmp/tmp.slgDkwfHia/susi_linux:requirements.txt (line 19)) (2019.12.25)
  157. Collecting typing
  158. Downloading https://files.pythonhosted.org/packages/fe/2e/b480ee1b75e6d17d2993738670e75c1feeb9ff7f64452153cf018051cc92/typing-3.7.4.1-py3-none-any.whl
  159. Collecting web-cache>=1.1.0
  160. Downloading https://repo.fury.io/fossasia/-/ver_1nZS9Z/web_cache-1.1.0-py3-none-any.whl
  161. Collecting appdirs>=1.4.0
  162. Downloading https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl
  163. Requirement already satisfied: requests>=2.6.0 in /usr/lib/python3/dist-packages (from google_speech->-r /tmp/tmp.slgDkwfHia/susi_linux:requirements.txt (line 3)) (2.18.4)
  164. Requirement already satisfied: future in /usr/local/lib/python3.6/dist-packages (from json_config->-r /tmp/tmp.slgDkwfHia/susi_linux:requirements.txt (line 4)) (0.18.2)
  165. Collecting pyasn1
  166. Downloading https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl (77kB)
  167. |████████████████████████████████| 81kB 30.6MB/s
  168. Collecting attrs>=16.0.0
  169. Downloading https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl
  170. Collecting pyasn1-modules
  171. Downloading https://files.pythonhosted.org/packages/52/50/bb4cefca37da63a0c52218ba2cb1b1c36110d84dcbae8aa48cd67c5e95c2/pyasn1_modules-0.2.7-py2.py3-none-any.whl (131kB)
  172. |████████████████████████████████| 133kB 22.9MB/s
  173. Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (from service_identity->-r /tmp/tmp.slgDkwfHia/susi_linux:requirements.txt (line 13)) (2.1.4)
  174. Requirement already satisfied: python_dateutil>=2.5.3 in /usr/lib/python3/dist-packages (from watson-developer-cloud->-r /tmp/tmp.slgDkwfHia/susi_linux:requirements.txt (line 17)) (2.6.1)
  175. Collecting websocket-client==0.48.0
  176. Downloading https://files.pythonhosted.org/packages/8a/a1/72ef9aa26cfe1a75cee09fc1957e4723add9de098c15719416a1ee89386b/websocket_client-0.48.0-py2.py3-none-any.whl (198kB)
  177. |████████████████████████████████| 204kB 21.9MB/s
  178. Requirement already satisfied: six in /usr/lib/python3/dist-packages (from websocket-client==0.48.0->watson-developer-cloud->-r /tmp/tmp.slgDkwfHia/susi_linux:requirements.txt (line 17)) (1.11.0)
  179. Installing collected packages: typing, async-promises, colorlog, web-cache, appdirs, google-speech, json-config, pocketsphinx, python-vlc, requests-futures, rx, pyasn1, attrs, pyasn1-modules, service-identity, snowboy, speechRecognition, spidev, websocket-client, watson-developer-cloud, websocket-server
  180. Running setup.py install for requests-futures ... done
  181. Running setup.py install for watson-developer-cloud ... done
  182. Successfully installed appdirs-1.4.3 async-promises-1.1.1 attrs-19.3.0 colorlog-4.0.2 google-speech-1.1.0 json-config-2.0.1 pocketsphinx-0.1.15 pyasn1-0.4.8 pyasn1-modules-0.2.7 python-vlc-3.0.7110 requests-futures-1.0.0 rx-3.0.1 service-identity-18.1.0 snowboy-1.3.0 speechRecognition-3.8.1 spidev-3.4 typing-3.7.4.1 watson-developer-cloud-2.10.1 web-cache-1.1.0 websocket-client-0.48.0 websocket-server-0.4
  183. Keyring is skipped due to an exception: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.freedesktop.secrets': timed out (service_start_timeout=120000ms)
  184. Looking in indexes: https://pypi.org/simple, https://repo.fury.io/fossasia/
  185. Collecting soundcloud-lib
  186. Downloading https://files.pythonhosted.org/packages/41/dc/3508bdbb792774b136c328754846581c184644ab727fac78e722c8005f11/soundcloud-lib-0.4.2.tar.gz
  187. Collecting aiohttp
  188. Downloading https://files.pythonhosted.org/packages/7c/39/7eb5f98d24904e0f6d3edb505d4aa60e3ef83c0a58d6fe18244a51757247/aiohttp-3.6.2-cp36-cp36m-manylinux1_x86_64.whl (1.2MB)
  189. |████████████████████████████████| 1.2MB 3.0MB/s
  190. Collecting bs4
  191. Downloading https://files.pythonhosted.org/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz
  192. Requirement already satisfied: mutagen in /usr/local/lib/python3.6/dist-packages (from soundcloud-lib->-r /tmp/tmp.slgDkwfHia/susi_installer:requirements-optional.txt (line 1)) (1.43.0)
  193. Collecting multidict<5.0,>=4.5
  194. Downloading https://files.pythonhosted.org/packages/b6/e1/f3db8d6a6d1de8222ceed7f549b8421c35bc57dd9b359e8487f2f07d7d25/multidict-4.7.2-cp36-cp36m-manylinux1_x86_64.whl (147kB)
  195. |████████████████████████████████| 153kB 15.2MB/s
  196. Collecting idna-ssl>=1.0; python_version < "3.7"
  197. Downloading https://files.pythonhosted.org/packages/46/03/07c4894aae38b0de52b52586b24bf189bb83e4ddabfe2e2c8f2419eec6f4/idna-ssl-1.1.0.tar.gz
  198. Collecting yarl<2.0,>=1.0
  199. Downloading https://files.pythonhosted.org/packages/95/8f/0209fc5d975f839344c33c822ff2f7ef80f6b1e984673a5a68f960bfa583/yarl-1.4.2-cp36-cp36m-manylinux1_x86_64.whl (252kB)
  200. |████████████████████████████████| 256kB 15.5MB/s
  201. Collecting async-timeout<4.0,>=3.0
  202. Downloading https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl
  203. Requirement already satisfied: chardet<4.0,>=2.0 in /usr/lib/python3/dist-packages (from aiohttp->soundcloud-lib->-r /tmp/tmp.slgDkwfHia/susi_installer:requirements-optional.txt (line 1)) (3.0.4)
  204. Collecting typing-extensions>=3.6.5; python_version < "3.7"
  205. Downloading https://files.pythonhosted.org/packages/03/92/705fe8aca27678e01bbdd7738173b8e7df0088a2202c80352f664630d638/typing_extensions-3.7.4.1-py3-none-any.whl
  206. Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.6/dist-packages (from aiohttp->soundcloud-lib->-r /tmp/tmp.slgDkwfHia/susi_installer:requirements-optional.txt (line 1)) (19.3.0)
  207. Collecting beautifulsoup4
  208. Downloading https://files.pythonhosted.org/packages/cb/a1/c698cf319e9cfed6b17376281bd0efc6bfc8465698f54170ef60a485ab5d/beautifulsoup4-4.8.2-py3-none-any.whl (106kB)
  209. |████████████████████████████████| 112kB 16.0MB/s
  210. Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from idna-ssl>=1.0; python_version < "3.7"->aiohttp->soundcloud-lib->-r /tmp/tmp.slgDkwfHia/susi_installer:requirements-optional.txt (line 1)) (2.6)
  211. Collecting soupsieve>=1.2
  212. Downloading https://files.pythonhosted.org/packages/81/94/03c0f04471fc245d08d0a99f7946ac228ca98da4fa75796c507f61e688c2/soupsieve-1.9.5-py2.py3-none-any.whl
  213. Installing collected packages: multidict, idna-ssl, yarl, async-timeout, typing-extensions, aiohttp, soupsieve, beautifulsoup4, bs4, soundcloud-lib
  214. Running setup.py install for idna-ssl ... done
  215. Running setup.py install for bs4 ... done
  216. Running setup.py install for soundcloud-lib ... done
  217. Successfully installed aiohttp-3.6.2 async-timeout-3.0.1 beautifulsoup4-4.8.2 bs4-0.0.1 idna-ssl-1.1.0 multidict-4.7.2 soundcloud-lib-0.4.2 soupsieve-1.9.5 typing-extensions-3.7.4.1 yarl-1.4.2
  218. Finished.
  219. norbert@Ubuntu1804:~/susi_installer$ bash ./install-susi.sh --dev
  220. ~/susi_installer ~/susi_installer
  221. ~/susi_installer
  222. Copying installer to destination /home/norbert/SUSI.AI ...
  223. Downloading: Susi Linux
  224. Cloning into 'susi_linux'...
  225. remote: Enumerating objects: 143, done.
  226. remote: Counting objects: 100% (143/143), done.
  227. remote: Compressing objects: 100% (98/98), done.
  228. remote: Total 2309 (delta 74), reused 96 (delta 42), pack-reused 2166
  229. Receiving objects: 100% (2309/2309), 19.84 MiB | 5.48 MiB/s, done.
  230. Resolving deltas: 100% (1288/1288), done.
  231. Already on 'development'
  232. Your branch is up to date with 'origin/development'.
  233. Setting up wrapper scripts for susi_linux
  234. Downloading: Susi Python API Wrapper
  235. Cloning into 'susi_python'...
  236. remote: Enumerating objects: 12, done.
  237. remote: Counting objects: 100% (12/12), done.
  238. remote: Compressing objects: 100% (12/12), done.
  239. remote: Total 373 (delta 2), reused 2 (delta 0), pack-reused 361
  240. Receiving objects: 100% (373/373), 71.31 KiB | 370.00 KiB/s, done.
  241. Resolving deltas: 100% (197/197), done.
  242. Already on 'development'
  243. Your branch is up to date with 'origin/development'.
  244. Downloading: Susi Skill Data
  245. Cloning into 'susi_skill_data'...
  246. remote: Enumerating objects: 146, done.
  247. remote: Counting objects: 100% (146/146), done.
  248. remote: Compressing objects: 100% (144/144), done.
  249. remote: Total 11673 (delta 90), reused 58 (delta 2), pack-reused 11527
  250. Receiving objects: 100% (11673/11673), 11.91 MiB | 5.02 MiB/s, done.
  251. Resolving deltas: 100% (7981/7981), done.
  252. Downloading: Susi server
  253. Cloning into 'susi_server'...
  254. remote: Enumerating objects: 78, done.
  255. remote: Counting objects: 100% (78/78), done.
  256. remote: Compressing objects: 100% (67/67), done.
  257. remote: Total 216 (delta 17), reused 11 (delta 11), pack-reused 138
  258. Receiving objects: 100% (216/216), 38.54 MiB | 4.49 MiB/s, done.
  259. Resolving deltas: 100% (23/23), done.
  260. Downloading: Susi.AI webclient
  261. Cloning into 'susi.ai'...
  262. remote: Enumerating objects: 123, done.
  263. remote: Counting objects: 100% (123/123), done.
  264. remote: Compressing objects: 100% (119/119), done.
  265. remote: Total 123 (delta 0), reused 123 (delta 0), pack-reused 0
  266. Receiving objects: 100% (123/123), 18.16 MiB | 5.09 MiB/s, done.
  267. --2019-12-25 15:55:07-- https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua
  268. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.64.133, 151.101.0.133, 151.101.192.133, ...
  269. Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.64.133|:443... connected.
  270. HTTP request sent, awaiting response... 200 OK
  271. Length: 19097 (19K) [text/plain]
  272. Saving to: ‘youtube.lua’
  273.  
  274. youtube.lua 100%[=====================================>] 18.65K --.-KB/s in 0.01s
  275.  
  276. 2019-12-25 15:55:08 (1.46 MB/s) - ‘youtube.lua’ saved [19097/19097]
  277.  
  278. Updating VLC drivers
  279. Downloading Speech Data for flite TTS
  280. --2019-12-25 15:55:08-- http://www.festvox.org/flite/packed/flite-2.0/voices/cmu_us_slt.flitevox
  281. Resolving www.festvox.org (www.festvox.org)... 199.4.150.154
  282. Connecting to www.festvox.org (www.festvox.org)|199.4.150.154|:80... connected.
  283. HTTP request sent, awaiting response... 200 OK
  284. Length: 23681917 (23M) [text/plain]
  285. Saving to: ‘susi_linux/extras/cmu_us_slt.flitevox’
  286.  
  287. cmu_us_slt.flitevox 100%[=====================================>] 22.58M 251KB/s in 29s
  288.  
  289. 2019-12-25 15:55:37 (803 KB/s) - ‘susi_linux/extras/cmu_us_slt.flitevox’ saved [23681917/23681917]
  290.  
  291. Updating Susi Linux Systemd service file
  292. Installing Susi Linux Server Systemd service file
  293. Installing Susi Desktop files
  294.  
  295. SUSI AI has been installed into /home/norbert/SUSI.AI.
  296. To start it once, type
  297. systemctl --user start ss-susi-server
  298. systemctl --user start ss-susi-linux
  299. To enable it permanently, use
  300. systemctl --user enable ss-susi-server
  301. systemctl --user enable ss-susi-linux
  302.  
  303. Enjoy.
  304. norbert@Ubuntu1804:~/susi_installer$ systemctl --user start ss-susi-server
  305. norbert@Ubuntu1804:~/susi_installer$ cd ~/SUSI.AI
  306. norbert@Ubuntu1804:~/SUSI.AI$ ls
  307. bin config.json susi.ai susi_installer susi_linux susi_python susi_server susi_skill_data
  308. norbert@Ubuntu1804:~/SUSI.AI$ export PYTHONPATH=~/SUSI.AI/susi_python/
  309. norbert@Ubuntu1804:~/SUSI.AI$ python3 -m main -v -v
  310. connected to local server
  311. 2019-12-25 15:57:00 DEBUG:vlcplayer: vlcplayer: starting to say something!
  312. 2019-12-25 15:57:00 DEBUG:vlcplayer: vlcplayer: waiting for player to be finished
  313. 2019-12-25 15:57:02 DEBUG:vlcplayer: vlcplayer: finished saying
  314. 2019-12-25 15:57:02 WARNING:main.states.susi_state_machine: This device doesn't have GPIO port
  315. 2019-12-25 15:57:02 DEBUG:main.states.susi_state_machine: checking for local server
  316. ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
  317. ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
  318. ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
  319. ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
  320. ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
  321. ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
  322. Cannot connect to server socket err = No such file or directory
  323. Cannot connect to server request channel
  324. jack server is not running or cannot be started
  325. JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
  326. JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
  327. 2019-12-25 15:57:02 DEBUG:urllib3.connectionpool: Starting new HTTP connection (1): ip-api.com
  328. 2019-12-25 15:57:02 DEBUG:urllib3.connectionpool: http://ip-api.com:80 "GET /json HTTP/1.1" 200 309
  329. 2019-12-25 15:57:03 INFO:main.hotword_engine: Snowboy successfully imported.
  330. 2019-12-25 15:57:03 INFO:main.hotword_engine: PocketSphinx successfully imported.
  331. 2019-12-25 15:57:03 INFO:main.hotword_engine: Both Snowboy and PocketSphinx successfully imported. We will recommend using Snowboy.
  332. 2019-12-25 15:57:03 INFO:main.states.susi_state_machine: Susi has the wake button enabled
  333. 2019-12-25 15:57:03 WARNING:main.states.susi_state_machine: Susi is not running on a RaspberryPi
  334. 2019-12-25 15:57:03 WARNING:main.states.base_state: This device doesn't have GPIO port
  335. 2019-12-25 15:57:03 WARNING:main.states.base_state: This device doesn't have GPIO port
  336. 2019-12-25 15:57:03 WARNING:main.states.base_state: This device doesn't have GPIO port
  337. 2019-12-25 15:57:03 WARNING:main.states.base_state: This device doesn't have GPIO port
  338. 2019-12-25 15:57:03 DEBUG:main.states.idle_state: IDLE(139650472003328): entering
  339. 2019-12-25 15:57:03 DEBUG:main.states.idle_state: Starting detector
  340. 2019-12-25 15:57:03 DEBUG:main.hotword_engine.snowboy_detector: SnowboyDetector: starting detection
  341. 2019-12-25 15:57:11 INFO:snowboy: Keyword 1 detected at time: 2019-12-25 15:57:11
  342. 2019-12-25 15:57:11 DEBUG:vlcplayer: vlcplayer: starting to say something!
  343. 2019-12-25 15:57:11 DEBUG:vlcplayer: vlcplayer: finished saying
  344. 2019-12-25 15:57:11 DEBUG:main.states.base_state: transitioning! step 1 - exit
  345. 2019-12-25 15:57:11 DEBUG:main.states.idle_state: IDLE(139650472003328): leaving
  346. 2019-12-25 15:57:11 DEBUG:main.states.idle_state: Stopping detector
  347. 2019-12-25 15:57:11 DEBUG:main.hotword_engine.snowboy_detector: SnowboyDetector: terminating detection
  348. 2019-12-25 15:57:11 DEBUG:main.states.idle_state: IDLE(139650472003328): leaving done
  349. 2019-12-25 15:57:11 DEBUG:main.states.base_state: transitioning! step 2 - entering, paylod = None
  350. 2019-12-25 15:57:11 DEBUG:main.states.recognizing_state: RECOGNIZING(139650472003328): entering
  351. 2019-12-25 15:57:11 INFO:main.states.recognizing_state: Recognizing
  352. 2019-12-25 15:57:11 INFO:main.states.recognizing_state: Let's say something!
  353. 2019-12-25 15:57:12 DEBUG:main.states.susi_state_machine: checking for local server
  354. 2019-12-25 15:57:12 DEBUG:urllib3.connectionpool: Starting new HTTPS connection (1): 127.0.0.1
  355. 2019-12-25 15:57:15 INFO:main.states.recognizing_state: Got it! Now to recognize it...
  356. 2019-12-25 15:57:15 INFO:main.states.recognizing_state: Trying to recognize audio with google in language: en_US
  357. 2019-12-25 15:57:16 DEBUG:main.states.recognizing_state: __recognize_audio => have a nice date
  358. 2019-12-25 15:57:16 DEBUG:main.states.base_state: transitioning! step 1 - exit
  359. 2019-12-25 15:57:16 DEBUG:main.states.recognizing_state: RECOGNIZING(139650472003328): leaving
  360. 2019-12-25 15:57:16 DEBUG:main.states.recognizing_state: RECOGNIZING(139650472003328): leaving done
  361. 2019-12-25 15:57:16 DEBUG:main.states.base_state: transitioning! step 2 - entering, paylod = have a nice date
  362. 2019-12-25 15:57:16 DEBUG:main.states.busy_state: BUSY(139650472003328): entering
  363. 2019-12-25 15:57:16 DEBUG:main.states.busy_state: Sending payload to susi server: have a nice date
  364. 2019-12-25 15:57:16 DEBUG:urllib3.connectionpool: Starting new HTTP connection (1): localhost
  365. 2019-12-25 15:57:21 DEBUG:urllib3.connectionpool: http://localhost:4000 "GET /susi/chat.json?q=have+a+nice+date&timezoneOffset=-540&device_type=Smart+Speaker&latitude=36.3271&longitude=136.4325&country_name=Japan&country_code=JP HTTP/1.1" 200 1329
  366. 2019-12-25 15:57:21 INFO:main.states.busy_state: Susi: Did you really just ask me that?
  367. 2019-12-25 15:57:21 DEBUG:root: Total size of file '/home/norbert/.cache/google_speech/google_speech-cache.sqlite': 20KB
  368. 2019-12-25 15:57:21 DEBUG:root: 0 obsolete entries have been removed from cache 'sound_data'
  369. 2019-12-25 15:57:21 DEBUG:root: Cache 'sound_data' contains 0 entries
  370. 2019-12-25 15:57:21 DEBUG:root: Downloading 'https://translate.google.com/translate_tts?client=tw-ob&ie=UTF-8&idx=0&total=1&textlen=32&tl=en_US&q=did+you+really+just+ask+me+that%3F'...
  371. 2019-12-25 15:57:21 DEBUG:urllib3.connectionpool: Starting new HTTPS connection (1): translate.google.com
  372. 2019-12-25 15:57:21 DEBUG:urllib3.connectionpool: https://translate.google.com:443 "GET /translate_tts?client=tw-ob&ie=UTF-8&idx=0&total=1&textlen=32&tl=en_US&q=did+you+really+just+ask+me+that%3F HTTP/1.1" 200 9120
  373. 2019-12-25 15:57:21 DEBUG:vlcplayer: vlcplayer: starting to say something!
  374. 2019-12-25 15:57:21 DEBUG:vlcplayer: vlcplayer: waiting for player to be finished
  375. 2019-12-25 15:57:22 DEBUG:main.states.susi_state_machine: checking for local server
  376. 2019-12-25 15:57:22 DEBUG:urllib3.connectionpool: Starting new HTTPS connection (1): 127.0.0.1
  377. 2019-12-25 15:57:25 DEBUG:vlcplayer: vlcplayer: finished saying
  378. 2019-12-25 15:57:25 DEBUG:main.states.base_state: transitioning! step 1 - exit
  379. 2019-12-25 15:57:25 DEBUG:main.states.busy_state: BUSY(139650472003328): leaving
  380. 2019-12-25 15:57:25 DEBUG:main.states.busy_state: BUSY(139650472003328): leaving done
  381. 2019-12-25 15:57:25 DEBUG:main.states.base_state: transitioning! step 2 - entering, paylod = None
  382. 2019-12-25 15:57:25 DEBUG:main.states.idle_state: IDLE(139650472003328): entering
  383. 2019-12-25 15:57:25 DEBUG:main.states.idle_state: Starting detector
  384. 2019-12-25 15:57:25 DEBUG:main.hotword_engine.snowboy_detector: SnowboyDetector: starting detection
  385. ^CException ignored in: <module 'threading' from '/usr/lib/python3.6/threading.py'>
  386. Traceback (most recent call last):
  387. File "/usr/lib/python3.6/threading.py", line 1294, in _shutdown
  388. t.join()
  389. File "/usr/lib/python3.6/threading.py", line 1056, in join
  390. self._wait_for_tstate_lock()
  391. File "/usr/lib/python3.6/threading.py", line 1072, in _wait_for_tstate_lock
  392. elif lock.acquire(block, timeout):
  393. KeyboardInterrupt
  394. norbert@Ubuntu1804:~/SUSI.AI$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement