I am setting up the RASA stack for the first time on Ubuntu 18.04.2 with python 3.6.7.
When I run:
pip install rasa_nlu[tensorflow]
I get a segmentation fault.
Any idea what might be wrong? Could I be missing a dependency?
Here’s a copy of the screen:
pip install rasa_nlu[tensorflow] Collecting rasa_nlu[tensorflow] Collecting typing~=3.6 (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/cc/3e/29f92b7aeda5b078c86d14f550bf85cff809042e3429ace7af6193c3bc9f/typing-3.6.6-py2-none-any.whl Collecting packaging~=18.0 (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/89/d1/92e6df2e503a69df9faab187c684585f0136662c12bb1f36901d426f3fab/packaging-18.0-py2.py3-none-any.whl Collecting jsonschema~=2.6 (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl Collecting coloredlogs~=10.0 (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/08/0f/7877fc42fff0b9d70b6442df62d53b3868d3a6ad1b876bdb54335b30ff23/coloredlogs-10.0-py2.py3-none-any.whl Collecting tqdm~=4.19 (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/45/af/685bf3ce889ea191f3b916557f5677cc95a5e87b2fa120d74b5dd6d049d0/tqdm-4.32.1-py2.py3-none-any.whl Collecting cloudpickle~=0.6.1 (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/fc/87/7b7ef3038b4783911e3fdecb5c566e3a817ce3e890e164fc174c088edb1e/cloudpickle-0.6.1-py2.py3-none-any.whl Collecting klein~=17.10 (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/8a/6b/adc97a7bb3fb781fdd9e49177ad873c1479f87b9745271cbeda81cbb9cc8/klein-17.10.0-py2.py3-none-any.whl Collecting requests~=2.20 (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl Collecting simplejson~=3.13 (from rasa_nlu[tensorflow]) Collecting matplotlib~=2.2 (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/32/6b/0368cfa5e1d1ae169ab7dc78addda3fd5e6262e48d7373a9114bac7caff7/matplotlib-2.2.4-cp27-cp27mu-manylinux1_x86_64.whl Collecting gevent~=1.3 (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/e6/e9/3a693414f706e12abe60554cd73c5ae8f848b182ae58018f93d86c9eb418/gevent-1.4.0-cp27-cp27mu-manylinux1_x86_64.whl Collecting future~=0.17.1 (from rasa_nlu[tensorflow]) Collecting ruamel.yaml~=0.15.7 (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/01/7b/4fe18fee2e6936c6a2af7b085f6b2f994a9ac748e571896c37778b23bcae/ruamel.yaml-0.15.96-cp27-cp27mu-manylinux1_x86_64.whl Collecting scikit-learn~=0.20.2 (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/f7/bb/52a01390c1dbb2c65d3072bc687271aa9ddf6964141ce7e03304820138f4/scikit_learn-0.20.3-cp27-cp27mu-manylinux1_x86_64.whl Collecting numpy>=1.16 (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/e1/72/179a78b565ecf01fe98dab6417581d30acac15c2d93c49f93169ebea99b1/numpy-1.16.3-cp27-cp27mu-manylinux1_x86_64.whl Collecting boto3~=1.9 (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/8c/82/59da660c667bea553743ba2edb09090b99d685f37e08950d20b0335f38f3/boto3-1.9.150-py2.py3-none-any.whl Collecting scipy~=1.2; extra == "tensorflow" (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/81/39/f1457091d0a45a84a2bd7815e2cf6bd45d4fe240728e9ed567cbb17c8abe/scipy-1.2.1-cp27-cp27mu-manylinux1_x86_64.whl Collecting tensorflow~=1.13.0; extra == "tensorflow" (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/d2/ea/ab2c8c0e81bd051cc1180b104c75a865ab0fc66c89be992c4b20bbf6d624/tensorflow-1.13.1-cp27-cp27mu-manylinux1_x86_64.whl Collecting sklearn-crfsuite~=0.3.6; extra == "tensorflow" (from rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/25/74/5b7befa513482e6dee1f3dd68171a6c9dfc14c0eaa00f885ffeba54fe9b0/sklearn_crfsuite-0.3.6-py2.py3-none-any.whl Collecting pyparsing>=2.0.2 (from packaging~=18.0->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/dd/d9/3ec19e966301a6e25769976999bd7bbe552016f0d32b577dc9d63d2e0c49/pyparsing-2.4.0-py2.py3-none-any.whl Collecting six (from packaging~=18.0->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Collecting functools32; python_version == "2.7" (from jsonschema~=2.6->rasa_nlu[tensorflow]) Collecting humanfriendly>=4.7 (from coloredlogs~=10.0->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/90/df/88bff450f333114680698dc4aac7506ff7cab164b794461906de31998665/humanfriendly-4.18-py2.py3-none-any.whl Collecting incremental (from klein~=17.10->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/f5/1d/c98a587dc06e107115cf4a58b49de20b19222c83d75335a192052af4c4b7/incremental-17.5.0-py2.py3-none-any.whl Collecting Twisted>=15.5 (from klein~=17.10->rasa_nlu[tensorflow]) Collecting werkzeug (from klein~=17.10->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/9f/57/92a497e38161ce40606c27a86759c6b92dd34fcdb33f64171ec559257c02/Werkzeug-0.15.4-py2.py3-none-any.whl Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests~=2.20->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/39/ec/d93dfc69617a028915df914339ef66936ea976ef24fa62940fd86ba0326e/urllib3-1.25.2-py2.py3-none-any.whl Collecting certifi>=2017.4.17 (from requests~=2.20->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl Collecting chardet<3.1.0,>=3.0.2 (from requests~=2.20->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl Collecting idna<2.9,>=2.5 (from requests~=2.20->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl Collecting cycler>=0.10 (from matplotlib~=2.2->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl Collecting backports.functools-lru-cache (from matplotlib~=2.2->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/03/8e/2424c0e65c4a066e28f539364deee49b6451f8fcd4f718fefa50cc3dcf48/backports.functools_lru_cache-1.5-py2.py3-none-any.whl Collecting subprocess32 (from matplotlib~=2.2->rasa_nlu[tensorflow]) Collecting kiwisolver>=1.0.1 (from matplotlib~=2.2->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/3d/78/cb9248b2289ec31e301137cedbe4ca503a74ca87f88cdbfd2f8be52323bf/kiwisolver-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl Collecting pytz (from matplotlib~=2.2->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl Collecting python-dateutil>=2.1 (from matplotlib~=2.2->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl Collecting greenlet>=0.4.14; platform_python_implementation == "CPython" (from gevent~=1.3->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/8b/6e/f2d25875713ad0885c8d3c69269697406652e6f64e1a6bd8264f7a609327/greenlet-0.4.15-cp27-cp27mu-manylinux1_x86_64.whl Collecting ruamel.ordereddict; platform_python_implementation == "CPython" and python_version <= "2.7" (from ruamel.yaml~=0.15.7->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/f3/2c/fa6d75dc459b371ed3b88fdbf8042785ce1655073c884fd97bdbb9f48e01/ruamel.ordereddict-0.4.13-cp27-cp27mu-manylinux1_x86_64.whl Collecting jmespath<1.0.0,>=0.7.1 (from boto3~=1.9->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl Collecting botocore<1.13.0,>=1.12.150 (from boto3~=1.9->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/a4/a3/14582589522f21684726da7b0f57dc2258cc6e3adb6046675f3bd9eba834/botocore-1.12.150-py2.py3-none-any.whl Collecting s3transfer<0.3.0,>=0.2.0 (from boto3~=1.9->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/d7/de/5737f602e22073ecbded7a0c590707085e154e32b68d86545dcc31004c02/s3transfer-0.2.0-py2.py3-none-any.whl Collecting tensorflow-estimator<1.14.0rc0,>=1.13.0 (from tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/bb/48/13f49fc3fa0fdf916aa1419013bb8f2ad09674c275b4046d5ee669a46873/tensorflow_estimator-1.13.0-py2.py3-none-any.whl Collecting grpcio>=1.8.6 (from tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/71/f4/175dc28565a59860912c11d859d15d829b8f0e6fe0c8dc7405c6560d52e1/grpcio-1.20.1-cp27-cp27mu-manylinux1_x86_64.whl Collecting mock>=2.0.0 (from tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/05/d2/f94e68be6b17f46d2c353564da56e6fb89ef09faeeff3313a046cb810ca9/mock-3.0.5-py2.py3-none-any.whl Collecting keras-applications>=1.0.6 (from tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/90/85/64c82949765cfb246bbdaf5aca2d55f400f792655927a017710a78445def/Keras_Applications-1.0.7-py2.py3-none-any.whl Collecting enum34>=1.1.6 (from tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl Collecting protobuf>=3.6.1 (from tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/ea/72/5eadea03b06ca1320be2433ef2236155da17806b700efc92677ee99ae119/protobuf-3.7.1-cp27-cp27mu-manylinux1_x86_64.whl Collecting keras-preprocessing>=1.0.5 (from tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/c0/bf/0315ef6a9fd3fc2346e85b0ff1f5f83ca17073f2c31ac719ab2e4da0d4a3/Keras_Preprocessing-1.0.9-py2.py3-none-any.whl Collecting gast>=0.2.0 (from tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Collecting tensorboard<1.14.0,>=1.13.0 (from tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/89/ac/48dd71c2bdc8d31e367f9b72f25ccb3b89bc6b9d664fee21f9a8efa5714d/tensorboard-1.13.1-py2-none-any.whl Collecting wheel (from tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/bb/10/44230dd6bf3563b8f227dbf344c908d412ad2ff48066476672f3a72e174e/wheel-0.33.4-py2.py3-none-any.whl Collecting absl-py>=0.1.6 (from tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Collecting backports.weakref>=1.0rc1 (from tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/88/ec/f598b633c3d5ffe267aaada57d961c94fdfa183c5c3ebda2b6d151943db6/backports.weakref-1.0.post1-py2.py3-none-any.whl Collecting termcolor>=1.1.0 (from tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Collecting astor>=0.6.0 (from tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/35/6b/11530768cac581a12952a2aad00e1526b89d242d0b9f59534ef6e6a1752f/astor-0.7.1-py2.py3-none-any.whl Collecting python-crfsuite>=0.8.3 (from sklearn-crfsuite~=0.3.6; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/32/d9/f00e607bd8af681df2b53bb700c2516f6f19933c0c9d91739a6203271496/python_crfsuite-0.9.6-cp27-cp27mu-manylinux1_x86_64.whl Collecting tabulate (from sklearn-crfsuite~=0.3.6; extra == "tensorflow"->rasa_nlu[tensorflow]) Collecting monotonic; python_version == "2.6" or python_version == "2.7" or python_version == "3.0" or python_version == "3.1" or python_version == "3.2" (from humanfriendly>=4.7->coloredlogs~=10.0->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/ac/aa/063eca6a416f397bd99552c534c6d11d57f58f2e94c14780f3bbf818c4cf/monotonic-1.5-py2.py3-none-any.whl Collecting PyHamcrest>=1.9.0 (from Twisted>=15.5->klein~=17.10->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/9a/d5/d37fd731b7d0e91afcc84577edeccf4638b4f9b82f5ffe2f8b62e2ddc609/PyHamcrest-1.9.0-py2.py3-none-any.whl Collecting zope.interface>=4.4.2 (from Twisted>=15.5->klein~=17.10->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/a2/a2/e68c37eb2ef9bf942e0ace19f4cf6fe3e7c650932fb587bfde3c608f7d77/zope.interface-4.6.0-cp27-cp27mu-manylinux1_x86_64.whl Collecting hyperlink>=17.1.1 (from Twisted>=15.5->klein~=17.10->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/7f/91/e916ca10a2de1cb7101a9b24da546fb90ee14629e23160086cf3361c4fb8/hyperlink-19.0.0-py2.py3-none-any.whl Collecting Automat>=0.3.0 (from Twisted>=15.5->klein~=17.10->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/a3/86/14c16bb98a5a3542ed8fed5d74fb064a902de3bdd98d6584b34553353c45/Automat-0.7.0-py2.py3-none-any.whl Collecting attrs>=17.4.0 (from Twisted>=15.5->klein~=17.10->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl Collecting constantly>=15.1 (from Twisted>=15.5->klein~=17.10->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/b9/65/48c1909d0c0aeae6c10213340ce682db01b48ea900a7d9fce7a7910ff318/constantly-15.1.0-py2.py3-none-any.whl Collecting setuptools (from kiwisolver>=1.0.1->matplotlib~=2.2->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl Collecting docutils>=0.10 (from botocore<1.13.0,>=1.12.150->boto3~=1.9->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/50/09/c53398e0005b11f7ffb27b7aa720c617aba53be4fb4f4f3f06b9b5c60f28/docutils-0.14-py2-none-any.whl Collecting futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" (from s3transfer<0.3.0,>=0.2.0->boto3~=1.9->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl Collecting funcsigs>=1; python_version < "3.3" (from mock>=2.0.0->tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl Collecting h5py (from keras-applications>=1.0.6->tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/53/08/27e4e9a369321862ffdce80ff1770553e9daec65d98befb2e14e7478b698/h5py-2.9.0-cp27-cp27mu-manylinux1_x86_64.whl Collecting markdown>=2.6.8 (from tensorboard<1.14.0,>=1.13.0->tensorflow~=1.13.0; extra == "tensorflow"->rasa_nlu[tensorflow]) Using cached https://files.pythonhosted.org/packages/f5/e4/d8c18f2555add57ff21bf25af36d827145896a07607486cc79a2aea641af/Markdown-3.1-py2.py3-none-any.whl Installing collected packages: typing, pyparsing, six, packaging, functools32, jsonschema, monotonic, humanfriendly, coloredlogs, tqdm, cloudpickle, incremental, setuptools, PyHamcrest, zope.interface, idna, hyperlink, attrs, Automat, constantly, Twisted, werkzeug, klein, urllib3, certifi, chardet, requests, simplejson, cycler, numpy, backports.functools-lru-cache, subprocess32, kiwisolver, pytz, python-dateutil, matplotlib, greenlet, gevent, future, ruamel.ordereddict, ruamel.yaml, scipy, scikit-learn, jmespath, docutils, botocore, futures, s3transfer, boto3, funcsigs, mock, enum34, absl-py, tensorflow-estimator, grpcio, h5py, keras-applications, protobuf, keras-preprocessing, gast, wheel, markdown, tensorboard, backports.weakref, termcolor, astor, tensorflow, python-crfsuite, tabulate, sklearn-crfsuite, rasa-nlu Segmentation fault (core dumped)