{"action":"closed","issue":{"url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/18","repository_url":"https://api.github.com/repos/RasaHQ/rasa_core","labels_url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/18/comments","events_url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/18/events","html_url":"https://github.com/RasaHQ/rasa_core/issues/18","id":264492240,"number":18,"title":"Unable to run Rasa Core as a HTTP server","user":{"login":"kianmeng-aft","id":22811886,"avatar_url":"https://avatars1.githubusercontent.com/u/22811886?v=4","gravatar_id":"","url":"https://api.github.com/users/kianmeng-aft","html_url":"https://github.com/kianmeng-aft","followers_url":"https://api.github.com/users/kianmeng-aft/followers","following_url":"https://api.github.com/users/kianmeng-aft/following{/other_user}","gists_url":"https://api.github.com/users/kianmeng-aft/gists{/gist_id}","starred_url":"https://api.github.com/users/kianmeng-aft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kianmeng-aft/subscriptions","organizations_url":"https://api.github.com/users/kianmeng-aft/orgs","repos_url":"https://api.github.com/users/kianmeng-aft/repos","events_url":"https://api.github.com/users/kianmeng-aft/events{/privacy}","received_events_url":"https://api.github.com/users/kianmeng-aft/received_events","type":"User","site_admin":false},"labels":[{"id":695658692,"url":"https://api.github.com/repos/RasaHQ/rasa_core/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-11T08:05:49Z","updated_at":"2017-10-12T02:59:07Z","closed_at":"2017-10-12T02:59:06Z","author_association":"NONE","body":"<!-- If you don't know your Rasa Core version, use `pip list | grep rasa_core`. If you are creating a feature request, feel free to remove all the system information stuff. --> \r\n\r\n**Rasa Core version** (e.g. `0.7.3`):\r\nRasa Core - 0.7.1\r\n\r\n**Operating system** (windows, osx, ...):\r\nWindow 10 64-bit\r\nPIP - 9.0.1\r\nPython - 3.6.3\r\n\r\n**Issue**:\r\nI am able to set up rasa and do a \"Hello, World\" as described on https://core.rasa.ai/installation.html\r\n\r\nhowever , when i am trying `Rasa Core as a HTTP server` (https://core.rasa.ai/http.html) , i keep facing \r\n\r\n```\r\nPS C:\\temp\\rasa_core>  python -m rasa_core.server -d examples/babi/models/policy/current -u examples/babi/models/nlu/current_py2 -o out.log\r\nUsing TensorFlow backend.\r\n2017-10-11 15:56:21.537946: W C:\\tf_jenkins\\home\\workspace\\rel-win\\M\\windows\\PY\\36\\tensorflow\\core\\platform\\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.\r\n2017-10-11 15:56:21.538093: W C:\\tf_jenkins\\home\\workspace\\rel-win\\M\\windows\\PY\\36\\tensorflow\\core\\platform\\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.\r\nWARNING:rasa_nlu.model:Deprecated use of `Interpreter.load` with a metadata object. If you want to directly pass the metadata, use `Interpreter.create(metadata, ...)`. If you want to load the metadata from file, use `Interpreter.load(model_dir, ...)\r\nDEBUG:pip.vcs:Registered VCS backend: git\r\nDEBUG:pip.vcs:Registered VCS backend: hg\r\nDEBUG:pip.pep425tags:Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect\r\nDEBUG:pip.pep425tags:Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect\r\nDEBUG:pip.pep425tags:Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect\r\nDEBUG:pip.pep425tags:Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect\r\nDEBUG:pip.vcs:Registered VCS backend: svn\r\nDEBUG:pip.vcs:Registered VCS backend: bzr\r\nINFO:rasa_nlu.components:Couldn't read dev-requirements.txt. Error: [Errno 0] Error: 'rasa_nlu\\\\..\\\\alt_requirements\\\\requirements_dev.txt'\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\KIANMENG\\AppData\\Local\\Programs\\Python\\Python36\\lib\\runpy.py\", line 193, in _run_module_as_main\r\n    \"__main__\", mod_spec)\r\n  File \"C:\\Users\\KIANMENG\\AppData\\Local\\Programs\\Python\\Python36\\lib\\runpy.py\", line 85, in _run_code\r\n    exec(code, run_globals)\r\n  File \"C:\\temp\\rasa_core\\rasa_core\\server.py\", line 147, in <module>\r\n    cmdline_args.log_file)\r\n  File \"C:\\temp\\rasa_core\\rasa_core\\server.py\", line 71, in __init__\r\n    self.agent = self._create_agent(model_directory, nlu_model)\r\n  File \"C:\\temp\\rasa_core\\rasa_core\\server.py\", line 75, in _create_agent\r\n    return Agent.load(model_directory, nlu_model)\r\n  File \"C:\\temp\\rasa_core\\rasa_core\\agent.py\", line 51, in load\r\n    _interpreter = NaturalLanguageInterpreter.create(interpreter)\r\n  File \"C:\\temp\\rasa_core\\rasa_core\\interpreter.py\", line 27, in create\r\n    return RasaNLUInterpreter(model_directory=obj)\r\n  File \"C:\\temp\\rasa_core\\rasa_core\\interpreter.py\", line 136, in __init__\r\n    os.environ))\r\n  File \"C:\\Users\\KIANMENG\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-packages\\rasa_nlu-0.10.1-py3.6.egg\\rasa_nlu\\model.py\", line 229, in load\r\n  File \"C:\\Users\\KIANMENG\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-packages\\rasa_nlu-0.10.1-py3.6.egg\\rasa_nlu\\model.py\", line 252, in create\r\n  File \"C:\\Users\\KIANMENG\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-packages\\rasa_nlu-0.10.1-py3.6.egg\\rasa_nlu\\components.py\", line 96, in validate_requirements\r\nException: Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install sklearn\r\n```\r\nI have already installed all the requirements as mention on the installation guide\r\n```\r\npip install -r requirements.txt\r\npip install -r dev-requirements.txt\r\n```\r\n\r\nAs you can see, `sklearn` and the other dependencies are installed \r\n```\r\nalabaster (0.7.10)\r\napipkg (1.4)\r\nAPScheduler (3.3.1)\r\nargh (0.26.2)\r\nattrs (17.2.0)\r\nAutomat (0.6.0)\r\nBabel (2.5.1)\r\nbleach (1.5.0)\r\nboto3 (1.4.4)\r\nbotocore (1.5.95)\r\ncertifi (2017.7.27.1)\r\nchardet (3.0.4)\r\nclick (6.7)\r\ncloudpickle (0.4.0)\r\ncolorama (0.3.9)\r\ncolorclass (2.2.0)\r\nconfigargparse (0.12.0)\r\nconstantly (15.1.0)\r\ncoverage (4.0.3)\r\ncycler (0.10.0)\r\ncymem (1.31.2)\r\ncytoolz (0.8.2)\r\ndecorator (4.1.2)\r\ndill (0.2.7.1)\r\ndocutils (0.14)\r\nen-core-web-sm (1.2.0)\r\nentrypoints (0.2.3)\r\nexecnet (1.4.1)\r\nfakeredis (0.8.2)\r\nFlask (0.12.2)\r\nftfy (4.4.3)\r\nfuture (0.16.0)\r\ngevent (1.2.1)\r\ngraphviz (0.7.1)\r\ngreenlet (0.4.12)\r\nh5py (2.7.0)\r\nhtml5lib (0.9999999)\r\nhyperlink (17.3.1)\r\nidna (2.6)\r\nimagesize (0.7.1)\r\nincremental (17.5.0)\r\nipython-genutils (0.2.0)\r\nitsdangerous (0.24)\r\nJinja2 (2.9.6)\r\njmespath (0.9.3)\r\njsonpickle (0.9.4)\r\njsonschema (2.6.0)\r\njupyter-core (4.3.0)\r\nkeras (2.0.8)\r\nklein (17.2.0)\r\nlivereload (2.5.1)\r\nMarkdown (2.6.9)\r\nMarkupSafe (1.0)\r\nmatplotlib (1.5.3)\r\nmistune (0.7.4)\r\nmurmurhash (0.26.4)\r\nnbconvert (5.3.1)\r\nnbformat (4.4.0)\r\nnbsphinx (0.2.13)\r\nnetworkx (1.11)\r\nnumpy (1.13.1)\r\npandoc (1.0.0b2)\r\npandocfilters (1.4.2)\r\npathlib (1.0.1)\r\npathtools (0.1.2)\r\npep8 (1.7.0)\r\npip (9.0.1)\r\nplac (0.9.6)\r\nply (3.10)\r\nport-for (0.3.1)\r\npreshed (1.0.0)\r\nprotobuf (3.4.0)\r\npsutil (5.3.1)\r\npy (1.4.34)\r\nPygments (2.2.0)\r\npygraphviz (1.5.dev0)\r\npymessenger (0.0.7.0)\r\npyparsing (2.2.0)\r\npypiwin32 (220)\r\npyreadline (2.1)\r\npytest (3.2.3)\r\npytest-cache (1.0)\r\npytest-cov (2.5.1)\r\npytest-flask (0.10.0)\r\npytest-pep8 (1.0.6)\r\npytest-services (1.2.1)\r\npytest-xdist (1.15.0)\r\npython-coveralls (2.9.1)\r\npython-crfsuite (0.9.5)\r\npython-dateutil (2.6.1)\r\npytz (2017.2)\r\nPyYAML (3.12)\r\nrasa-core (0.7.1, c:\\temp\\rasa_core)\r\nrasa-nlu (0.10.1, c:\\users\\kianmeng\\appdata\\local\\programs\\python\\python36\\lib\\site-packages\\rasa_nlu-0.10.1-py3.6.egg)\r\nredis (2.10.5)\r\nregex (2017.9.23)\r\nrequests (2.18.4)\r\nrequests-toolbelt (0.8.0)\r\ns3transfer (0.1.11)\r\nscikit-learn (0.19.0)\r\nscipy (0.19.1)\r\nsetuptools (36.5.0)\r\nsimplejson (3.11.1)\r\nsix (1.10.0)\r\nsklearn (0.0)\r\nsklearn-crfsuite (0.3.6)\r\nsnowballstemmer (1.2.1)\r\nspacy (1.9.0)\r\nSphinx (1.6.4)\r\nsphinx-autobuild (0.6.0)\r\nsphinx-rtd-theme (0.2.5b1, c:\\temp\\rasa_core\\src\\sphinx-rtd-theme)\r\nsphinxcontrib-versioning (2.2.1)\r\nsphinxcontrib-websupport (1.0.1)\r\ntabulate (0.8.1)\r\ntensorflow (1.3.0)\r\ntensorflow-tensorboard (0.1.8)\r\ntermcolor (1.1.0)\r\ntestpath (0.3.1)\r\nthinc (6.5.2)\r\ntoolz (0.8.2)\r\ntornado (4.5.2)\r\ntqdm (4.11.2)\r\ntraitlets (4.3.2)\r\nTwisted (17.9.0)\r\ntyping (3.6.2)\r\ntzlocal (1.4)\r\nujson (1.35)\r\nurllib3 (1.22)\r\nwatchdog (0.8.3)\r\nwcwidth (0.1.7)\r\nwebencodings (0.5.1)\r\nWerkzeug (0.12.2)\r\nwheel (0.30.0)\r\nwrapt (1.10.11)\r\nzope.interface (4.4.3)\r\n```\r\n\r\nIs there anything else that i am missing?\r\n\r\n**Content of domain file** (if used & relevant):\r\n```yaml\r\n\r\n```\r\n"}}
{"actor":{"display_login":"kianmeng-aft"}}