Closed MounaGowdaH closed 5 years ago
Hi there @MounaGowdaH, which version of rasa core are you trying to install? Can I ask why you're interested in installing the old packages and not the new rasa
?
I am trying to install lasting of RASA Core, using the command: pip install rasa_core
I am getting this error:
ERROR: Could not find a version that satisfies the requirement tensorflow~=1.13.0 (from rasa_core) (from versions: none)
ERROR: No matching distribution found for tensorflow~=1.13.0 (from rasa_core)
@erohmensing
Right, my question is, why are you installing rasa_core
and not rasa
? As of May, rasa_nlu
and rasa_core
were merged into the rasa
package. The old packages are no longer maintained.
@erohmensing, I used both "pip install rasa" and "pip install rasa_core" also,
I am getting same issue, ERROR: Could not find a version that satisfies the requirement tensorflow~=1.13.0 (from rasa) (from versions: none) ERROR: No matching distribution found for tensorflow~=1.13.0 (from rasa)
Okay, so you're trying to install rasa
. Got it. Neither of those packages support python 2.7 -- You will need python >= 3.5.4. You can do this in a virtual environment. Then you can install with pip install rasa
.
@erohmensing, Can u please tell me the steps to download the RASA chatbots
Check them out here: https://rasa.com/docs/rasa/user-guide/installation/
You will need a virtual environment, which is easiest to do with anaconda (explained in the docs). Then it is easy to install with the command.
@erohmensing ,
Again facing same issue,
C:\BotPress\Python>pip install rasa-x --extra-index-url https://pypi.rasa.com/simple Looking in indexes: https://pypi.org/simple, https://pypi.rasa.com/simple Collecting rasa-x Downloading https://pypi.rasa.com/api/package/rasa-x/rasa-x-0.19.5.tar.gz (1.8MB) |ββββββββββββββββββββββββββββββββ| 1.8MB 819kB/s Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Collecting sanic-cors~=0.9.6 (from rasa-x) Using cached https://files.pythonhosted.org/packages/33/c3/a0f3448627e5aa8e085b34c51f2e12d8fa17f0d345836ff0e7f262fe7571/Sanic_Cors-0.9.8.post1-py2.py3-none-any.whl Collecting isodate~=0.6.0 (from rasa-x) Using cached https://files.pythonhosted.org/packages/9b/9f/b36f7774ff5ea8e428fdcfc4bb332c39ee5b9362ddd3d40d9516a55221b2/isodate-0.6.0-py2.py3-none-any.whl Collecting questionary>=1.1.0 (from rasa-x) Using cached https://files.pythonhosted.org/packages/1e/e2/eda18deed2410a4ac243ad13e375d1f0023288e0872310164a772d09c622/questionary-1.1.1-py3-none-any.whl Collecting alembic~=1.0.10 (from rasa-x) Using cached https://files.pythonhosted.org/packages/7b/8b/0c98c378d93165d9809193f274c3c6e2151120d955b752419c7d43e4d857/alembic-1.0.11.tar.gz Collecting rasa~=1.1.0 (from rasa-x) Using cached https://files.pythonhosted.org/packages/4f/17/96c26432b3968b0a6e08fba87661f7b22ee58c79d4c054a09b9f4f75b9f2/rasa-1.1.4-py3-none-any.whl Collecting aiohttp~=3.5 (from rasa-x) Using cached https://files.pythonhosted.org/packages/2b/6f/a20c36018f2a1804b54bce2377f06ccd173572351f17e1df098be38eba5a/aiohttp-3.5.4-cp37-cp37m-win32.whl Requirement already satisfied: python-dateutil~=2.8 in c:\users\mouna.h\appdata\local\programs\python\python37-32\lib\site-packages (from rasa-x) (2.8.0) Collecting mixpanel~=4.3 (from rasa-x) Using cached https://files.pythonhosted.org/packages/26/c0/7f234cafdb19e515c62a17dd8ed27dba782b68a93790af659553f37b4496/mixpanel-4.4.0-py2.py3-none-any.whl Collecting apscheduler~=3.5 (from rasa-x) Using cached https://files.pythonhosted.org/packages/93/09/ffc2ed85fa578cd0d4428e9c421407e5d91a4464bbaa44f789941416ae42/APScheduler-3.6.0-py2.py3-none-any.whl Collecting simplejson~=3.16 (from rasa-x) Collecting SQLAlchemy~=1.3.0 (from rasa-x) Using cached https://files.pythonhosted.org/packages/62/3c/9dda60fd99dbdcbc6312c799a3ec9a261f95bc12f2874a35818f04db2dd9/SQLAlchemy-1.3.5.tar.gz Collecting pika~=1.0.0 (from rasa-x) Using cached https://files.pythonhosted.org/packages/78/1a/28c98ee8b211be21d4a9f4ef1687c4d36f9302d47fcc28b81f9591abf6d8/pika-1.0.1-py2.py3-none-any.whl Requirement already satisfied: jsonschema~=2.6.0 in c:\users\mouna.h\appdata\local\programs\python\python37-32\lib\site-packages (from rasa-x) (2.6.0) Collecting sanic~=19.3.1 (from rasa-x) Using cached https://files.pythonhosted.org/packages/90/11/31382617b33f89df0caca396f104628d256689a58a63c75d3e46663a8c8f/sanic-19.3.1-py3-none-any.whl Collecting sanic-jwt~=1.3 (from rasa-x) Using cached https://files.pythonhosted.org/packages/9a/14/451e1e1ad90fd12a3e2bb41dd7acdbee2865012d841f4a5455a82c2d255a/sanic-jwt-1.3.2.tar.gz Requirement already satisfied: requests~=2.22 in c:\users\mouna.h\appdata\local\programs\python\python37-32\lib\site-packages (from rasa-x) (2.22.0) Collecting pyjwt (from rasa-x) Using cached https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl Collecting sanic-plugins-framework>=0.7.0 (from sanic-cors~=0.9.6->rasa-x) Using cached https://files.pythonhosted.org/packages/1a/cc/a2e370acd9f0f3abdf67e2c42681e3bd84d2153e7a7b03615a73a39bb803/Sanic_Plugins_Framework-0.7.0-py2.py3-none-any.whl Requirement already satisfied: six in c:\users\mouna.h\appdata\local\programs\python\python37-32\lib\site-packages (from isodate~=0.6.0->rasa-x) (1.12.0) Collecting prompt-toolkit~=2.0 (from questionary>=1.1.0->rasa-x) Using cached https://files.pythonhosted.org/packages/f7/a7/9b1dd14ef45345f186ef69d175bdd2491c40ab1dfa4b2b3e4352df719ed7/prompt_toolkit-2.0.9-py3-none-any.whl Collecting Mako (from alembic~=1.0.10->rasa-x) Using cached https://files.pythonhosted.org/packages/fa/29/8016763284d8fab844224f7cc5675cb4a388ebda0eb5a403260187e48435/Mako-1.0.13.tar.gz Collecting python-editor>=0.3 (from alembic~=1.0.10->rasa-x) Using cached https://files.pythonhosted.org/packages/c6/d3/201fc3abe391bbae6606e6f1d598c15d367033332bd54352b12f35513717/python_editor-1.0.4-py3-none-any.whl Requirement already satisfied: scipy~=1.2 in c:\users\mouna.h\appdata\local\programs\python\python37-32\lib\site-packages (from rasa~=1.1.0->rasa-x) (1.3.0) Requirement already satisfied: gevent~=1.4 in c:\users\mouna.h\appdata\local\programs\python\python37-32\lib\site-packages (from rasa~=1.1.0->rasa-x) (1.4.0) Collecting sklearn-crfsuite~=0.3.6 (from rasa~=1.1.0->rasa-x) Using cached https://files.pythonhosted.org/packages/25/74/5b7befa513482e6dee1f3dd68171a6c9dfc14c0eaa00f885ffeba54fe9b0/sklearn_crfsuite-0.3.6-py2.py3-none-any.whl Requirement already satisfied: tqdm~=4.0 in c:\users\mouna.h\appdata\local\programs\python\python37-32\lib\site-packages (from rasa~=1.1.0->rasa-x) (4.32.2) Collecting colorclass~=2.2 (from rasa~=1.1.0->rasa-x) Using cached https://files.pythonhosted.org/packages/37/ea/ae8dbb956939d4392e6a7fdef87fda273854da1128edae016c4104240be8/colorclass-2.2.0.tar.gz Collecting packaging~=19.0 (from rasa~=1.1.0->rasa-x) Using cached https://files.pythonhosted.org/packages/91/32/58bc30e646e55eab8b21abf89e353f59c0cc02c417e42929f4a9546e1b1d/packaging-19.0-py2.py3-none-any.whl Collecting pydot~=1.4 (from rasa~=1.1.0->rasa-x) Using cached https://files.pythonhosted.org/packages/33/d1/b1479a770f66d962f545c2101630ce1d5592d90cb4f083d38862e93d16d2/pydot-1.4.1-py2.py3-none-any.whl Requirement already satisfied: scikit-learn~=0.20.2 in c:\users\mouna.h\appdata\local\programs\python\python37-32\lib\site-packages (from rasa~=1.1.0->rasa-x) (0.20.3) Collecting rocketchat-API~=0.6.0 (from rasa~=1.1.0->rasa-x) Using cached https://files.pythonhosted.org/packages/fd/4b/bd66724a79f757d287946a793ae986b8dfd1c7a72e4990b9ff21867ce201/rocketchat_API-0.6.32-py3-none-any.whl Collecting tensorflow~=1.13.0 (from rasa~=1.1.0->rasa-x)
ERROR: Could not find a version that satisfies the requirement tensorflow~=1.13.0 (from rasa~=1.1.0->rasa-x) (from versions: none) ERROR: No matching distribution found for tensorflow~=1.13.0 (from rasa~=1.1.0->rasa-x)
@erohmensing , I tried this, Again same issue:
C:\BotPress\Python>git clone https://github.com/RasaHQ/rasa.git Cloning into 'rasa'... remote: Enumerating objects: 1078, done. remote: Counting objects: 100% (1078/1078), done. remote: Compressing objects: 100% (296/296), done. remote: Total 388181 (delta 882), reused 913 (delta 781), pack-reused 387103 Receiving objects: 100% (388181/388181), 264.90 MiB | 1.06 MiB/s, done. Resolving deltas: 100% (325995/325995), done.
C:\BotPress\Python>cd rasa
C:\BotPress\Python\rasa>pip install -r requirements.txt Requirement already satisfied: requests==2.22.0 in c:\users\mouna.h\appdata\local\programs\python\python37-32\lib\site-packages (from -r requirements.txt (line 2)) (2.22.0) Collecting boto3==1.9.146 (from -r requirements.txt (line 3)) Downloading https://files.pythonhosted.org/packages/20/9c/7111470f07700a6b06305943fc7521e49d9669dbda0c1862c4658130f235/boto3-1.9.146-py2.py3-none-any.whl (128kB) |ββββββββββββββββββββββββββββββββ| 133kB 656kB/s Collecting matplotlib==3.0.3 (from -r requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/76/6f/5d6b88dda698a175ef6f680ff0764cc5628f5afdd2dd6a0e2c8061cd0655/matplotlib-3.0.3-cp37-cp37m-win32.whl (8.9MB) |ββββββββββββββββββββββββββββββββ| 8.9MB 2.2MB/s Collecting simplejson==3.16.0 (from -r requirements.txt (line 5)) Requirement already satisfied: attrs==19.1.0 in c:\users\mouna.h\appdata\local\programs\python\python37-32\lib\site-packages (from -r requirements.txt (line 6)) (19.1.0) Collecting jsonpickle==1.1 (from -r requirements.txt (line 7)) Downloading https://files.pythonhosted.org/packages/dc/12/8c44eabb501e2bc0aec0dd152b328074d98a50968d3a02be28f6037f0c6a/jsonpickle-1.1-py2.py3-none-any.whl Collecting redis==3.2.1 (from -r requirements.txt (line 8)) Using cached https://files.pythonhosted.org/packages/ac/a7/cff10cc5f1180834a3ed564d148fb4329c989cbb1f2e196fc9a10fa07072/redis-3.2.1-py2.py3-none-any.whl Collecting fakeredis==1.0.3 (from -r requirements.txt (line 9)) Using cached https://files.pythonhosted.org/packages/d4/14/8f2ee2331e35a5d8c6a9be1fb46087c31d89d03c63912cb1355e8d4685d6/fakeredis-1.0.3-py2.py3-none-any.whl Collecting pymongo==3.8.0 (from -r requirements.txt (line 10)) Using cached https://files.pythonhosted.org/packages/92/d2/6993655f5c46755cf3385ef8cec78f49909e035777724a0bf02251de733f/pymongo-3.8.0-cp37-cp37m-win32.whl Collecting numpy==1.16.3 (from -r requirements.txt (line 11)) Downloading https://files.pythonhosted.org/packages/ab/75/9ac63977cbca68e17406a53a8c573a925a16771800be47a73f18c838f3fb/numpy-1.16.3-cp37-cp37m-win32.whl (10.0MB) |ββββββββββββββββββββββββββββββββ| 10.0MB 6.8MB/s Collecting scipy==1.2.1 (from -r requirements.txt (line 12)) Downloading https://files.pythonhosted.org/packages/a7/cd/6b8df093ca7e7f12a66004f9edc2e2628dd4692f34cc284c874814a40e6a/scipy-1.2.1-cp37-cp37m-win32.whl (26.8MB) |ββββββββββββββββββββββββββββββββ| 26.8MB 1.6MB/s Collecting tensorflow==1.13.1 (from -r requirements.txt (line 13))
ERROR: Could not find a version that satisfies the requirement tensorflow==1.13.1 (from -r requirements.txt (line 13)) (from versions: none) ERROR: No matching distribution found for tensorflow==1.13.1 (from -r requirements.txt (line 13))
Did you update your python version to a compatible one?
@erohmensing, previously i was using 3.7, now am using 3.6
Ah i see that you are on windows 32 bit, is that correct? According to here, your machine is not compatible with tensorflow:
TensorFlow is only tested and supported for 64-bit, x86 systems. I don't believe you can install TensorFlow through pip or conda normally from a 32-bit system. If you take a look here, only 64-bit systems are listed for Windows. Perhaps you could try to build and install TensorFlow from source instead. But, to avoid the headache, maybe you could dual boot Linux :)
This issue has solved for me by installing python version == 3.7.4 (64-bit), which has mentioned in the link (https://stackoverflow.com/questions/38896424/tensorflow-not-found-using-pip?page=1&tab=votes#tab-top). I hope that it helps@MounaGowdaH @erohmensing
@erohmensing , Please help me out for install rasa, I am getting below error,
ERROR: Command errored out with exit status 1: 'c:\users\mouna.h\appdata\local\programs\python\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Mouna.H\AppData\Local\Temp\pip-install-jxfbfpbz\Twisted\setup.py'"'"'; file='"'"'C:\Users\Mouna.H\AppData\Local\Temp\pip-install-jxfbfpbz\Twisted\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Mouna.H\AppData\Local\Temp\pip-record-_tkz_6vz\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools":
@erohmensing, again facing below error,
WARNING: The script rasa.exe is installed in 'c:\users\mouna.h\appdata\local\programs\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed ConfigArgParse-0.14.0 Jinja2-2.10.1 Mako-1.0.14 MarkupSafe-1.1.1 PyYAML-5.1.1 SQLAlchemy-1.3.6 absl-py-0.7.1 aiohttp-3.5.4 alembic-1.0.11 asn1crypto-0.24.0 astor-0.8.0 async-generator-1.10 async-timeout-3.0.1 click-7.0 colorclass-2.2.0 colorhash-1.0.2 cryptography-2.7 decorator-4.4.0 docopt-0.6.2 fakeredis-1.0.3 fbmessenger-6.0.0 flask-1.1.1 flask-cors-3.0.8 gast-0.2.2 grpcio-1.22.0 h5py-2.9.0 httptools-0.0.13 isodate-0.6.0 itsdangerous-1.1.0 jsonpickle-1.2 kafka-python-1.4.6 keras-applications-1.0.8 keras-preprocessing-1.1.0 markdown-3.1.1 matplotlib-3.1.1 mattermostwrapper-2.1 mixpanel-4.4.0 mock-3.0.5 networkx-2.3 packaging-19.0 protobuf-3.9.0 pydot-1.4.1 pykwalify-1.7.0 pymongo-3.8.0 pysocks-1.7.0 python-crfsuite-0.9.6 python-editor-1.0.4 python-engineio-3.8.2.post1 python-socketio-4.2.0 python-telegram-bot-11.1.0 rasa-1.1.7 rasa-sdk-1.1.0 rasa-x-0.19.5 redis-3.2.1 requests-toolbelt-0.9.1 rocketchat-API-0.6.34 sanic-19.3.1 sanic-cors-0.9.8.post1 sanic-jwt-1.3.2 sanic-plugins-framework-0.7.0 sklearn-crfsuite-0.3.6 slackclient-1.3.2 sortedcontainers-2.1.0 tabulate-0.8.3 tensorboard-1.13.1 tensorflow-1.13.2 tensorflow-estimator-1.13.0 termcolor-1.1.0 terminaltables-3.1.0 twilio-6.29.1 webexteamssdk-1.1.1 websocket-client-0.54.0 wheel-0.33.4 yarl-1.3.0
C:\Users\Mouna.H\AppData\Local\Programs\Python\Python37\Scripts> cd ..
C:\Users\Mouna.H\AppData\Local\Programs\Python\Python37>python -m rasa_nlu.train -c sample_configs/config_spacy.json
C:\Users\Mouna.H\AppData\Local\Programs\Python\Python37\lib\site-packages\rasa_nlu\__init__.py:12: UserWarning: The 'rasa_nlu' package has been renamed. You should change your imports to use 'rasa.nlu' instead.
UserWarning,
Traceback (most recent call last):
File "C:\Users\Mouna.H\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\Mouna.H\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\Mouna.H\AppData\Local\Programs\Python\Python37\lib\site-packages\rasa\nlu\train.py", line 101, in <module>
"Calling `rasa.nlu.train` directly is no longer supported. Please use "
RuntimeError: Calling `rasa.nlu.train` directly is no longer supported. Please use `rasa train` to train a combined Core and NLU model or `rasa train nlu` to train an NLU model.
C:\Users\Mouna.H\AppData\Local\Programs\Python\Python37>cd Scripts
C:\Users\Mouna.H\AppData\Local\Programs\Python\Python37\Scripts>pip install git+https://github.com/mit-nlp/MITIE.git
Collecting git+https://github.com/mit-nlp/MITIE.git
Cloning https://github.com/mit-nlp/MITIE.git to c:\users\mouna.h\appdata\local\temp\pip-req-build-_2oup6ih
Running command git clone -q https://github.com/mit-nlp/MITIE.git 'C:\Users\Mouna.H\AppData\Local\Temp\pip-req-build-_2oup6ih'
Building wheels for collected packages: mitie
Building wheel for mitie (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\mouna.h\appdata\local\programs\python\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Mouna.H\\AppData\\Local\\Temp\\pip-req-build-_2oup6ih\\setup.py'"'"'; __file__='"'"'C:\\Users\\Mouna.H\\AppData\\Local\\Temp\\pip-req-build-_2oup6ih\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Mouna.H\AppData\Local\Temp\pip-wheel-10u8hj1f' --python-tag cp37
cwd: C:\Users\Mouna.H\AppData\Local\Temp\pip-req-build-_2oup6ih\
Complete output (40 lines):
running bdist_wheel
running build
Traceback (most recent call last):
File "C:\Users\Mouna.H\AppData\Local\Temp\pip-req-build-_2oup6ih\setup.py", line 44, in get_cmake_version
out = subprocess.check_output(['cmake', '--version'])
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\subprocess.py", line 395, in check_output
**kwargs).stdout
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\subprocess.py", line 472, in run
with Popen(*popenargs, **kwargs) as process:
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Mouna.H\AppData\Local\Temp\pip-req-build-_2oup6ih\setup.py", line 67, in <module>
'License :: Boost License',
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\site-packages\wheel\bdist_wheel.py", line 192, in run
self.run_command('build')
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Mouna.H\AppData\Local\Temp\pip-req-build-_2oup6ih\setup.py", line 16, in run
if LooseVersion(self.get_cmake_version()) < '3.1.0':
File "C:\Users\Mouna.H\AppData\Local\Temp\pip-req-build-_2oup6ih\setup.py", line 47, in get_cmake_version
", ".join(e.name for e in self.extensions))
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\distutils\cmd.py", line 103, in __getattr__
raise AttributeError(attr)
AttributeError: extensions
----------------------------------------
ERROR: Failed building wheel for mitie
Running setup.py clean for mitie
Failed to build mitie
Installing collected packages: mitie
Running setup.py install for mitie ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\mouna.h\appdata\local\programs\python\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Mouna.H\\AppData\\Local\\Temp\\pip-req-build-_2oup6ih\\setup.py'"'"'; __file__='"'"'C:\\Users\\Mouna.H\\AppData\\Local\\Temp\\pip-req-build-_2oup6ih\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Mouna.H\AppData\Local\Temp\pip-record-jg1lx15t\install-record.txt' --single-version-externally-managed --compile
cwd: C:\Users\Mouna.H\AppData\Local\Temp\pip-req-build-_2oup6ih\
Complete output (42 lines):
running install
running build
Traceback (most recent call last):
File "C:\Users\Mouna.H\AppData\Local\Temp\pip-req-build-_2oup6ih\setup.py", line 44, in get_cmake_version
out = subprocess.check_output(['cmake', '--version'])
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\subprocess.py", line 395, in check_output
**kwargs).stdout
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\subprocess.py", line 472, in run
with Popen(*popenargs, **kwargs) as process:
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Mouna.H\AppData\Local\Temp\pip-req-build-_2oup6ih\setup.py", line 67, in <module>
'License :: Boost License',
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\site-packages\setuptools\command\install.py", line 61, in run
return orig.install.run(self)
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\distutils\command\install.py", line 545, in run
self.run_command('build')
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Mouna.H\AppData\Local\Temp\pip-req-build-_2oup6ih\setup.py", line 16, in run
if LooseVersion(self.get_cmake_version()) < '3.1.0':
File "C:\Users\Mouna.H\AppData\Local\Temp\pip-req-build-_2oup6ih\setup.py", line 47, in get_cmake_version
", ".join(e.name for e in self.extensions))
File "c:\users\mouna.h\appdata\local\programs\python\python37\lib\distutils\cmd.py", line 103, in __getattr__
raise AttributeError(attr)
AttributeError: extensions
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\mouna.h\appdata\local\programs\python\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Mouna.H\\AppData\\Local\\Temp\\pip-req-build-_2oup6ih\\setup.py'"'"'; __file__='"'"'C:\\Users\\Mouna.H\\AppData\\Local\\Temp\\pip-req-build-_2oup6ih\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Mouna.H\AppData\Local\Temp\pip-record-jg1lx15t\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
This error appeared when installing a package not hosted by us:
C:\Users\Mouna.H\AppData\Local\Programs\Python\Python37\Scripts>pip install git+https://github.com/mit-nl
why do you want to use MITIE?
Also the instructions you used to try to train with spacy are out of date, as well as the config:
C:\Users\Mouna.H\AppData\Local\Programs\Python\Python37>python -m rasa_nlu.train -c sample_configs/config_spacy.json
C:\Users\Mouna.H\AppData\Local\Programs\Python\Python37\lib\site-packages\rasa_nlu\__init__.py:12: UserWarning: The 'rasa_nlu' package has been renamed. You should change your imports to use 'rasa.nlu' instead.
UserWarning,
Traceback (most recent call last):
File "C:\Users\Mouna.H\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\Mouna.H\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\Mouna.H\AppData\Local\Programs\Python\Python37\lib\site-packages\rasa\nlu\train.py", line 101, in <module>
"Calling `rasa.nlu.train` directly is no longer supported. Please use "
RuntimeError: Calling `rasa.nlu.train` directly is no longer supported. Please use `rasa train` to train a combined Core and NLU model or `rasa train nlu` to train an NLU model.
Donβt know where you got this code, but itβs not up to date with the latest versions. Iβd recommend following our tutorial instead: https://rasa.com/docs/rasa/user-guide/rasa-tutorial/
@reliefs looks like tensorflow isn't planning on supporting 32-bit architecture. I'd recommend not spamming them, as it won't solve your problem and will likely get you blocked from their forum.
@erohmensing,
Rasa Core version: pip install rasa_core
Python version: 2.7
Operating system : windows 10
Issue: facing error like, ERROR: Could not find a version that satisfies the requirement tensorflow~=1.13.0 (from rasa_core) (from versions: none) ERROR: No matching distribution found for tensorflow~=1.13.0 (from rasa_core)