Failing to install RASA on Windows 7 - Getting Started with Rasa / Tutorials, Resources & Videos - Rasa Community Forum

👋 Introducing the Rasa Playground

Failing to install RASA on Windows 7

post by angshuman-agarwal on Nov 12, 2019

I am doing step by step installation on Windows 7 with RASA only option - https://rasa.com/docs/rasa/user-guide/installation/#install-rasa-and-rasa-x

$ pip install rasa

But, it is failing at this step in the end with the following error -


Failed to build httptools
ERROR: botocore 1.13.12 has requirement python-dateutil<2.8.1,>=2.1; python_version >= "2.7", but you'll have python-dateutil 2.8.1 which is incompatible.
ERROR: dopamine-rl 2.0.5 has requirement gym>=0.10.5, but you'll have gym 0.7.4 which is incompatible.
Installing collected packages: pika, rocketchat-API, tzlocal, apscheduler, httptools, sanic, websocket-client, slackclient, redis, colorama, pyreadline, humanfriendly, coloredlogs, sanic-jwt, sanic-plugins-framework, sanic-cors, docutils, jmespath, botocore, s3transfer, boto3, terminaltables, ruamel.yaml, dnspython, pymongo, greenlet, pycparser, cffi, gevent, python-socketio, decorator, networkx, itsdangerous, click, MarkupSafe, Jinja2, flask, ConfigArgParse, flask-cors, rasa-sdk, cloudpickle, tensorflow-probability, gin-config, pyasn1, rsa, httplib2, pyasn1-modules, oauth2client, kfac, bz2file, pyglet, gym, dill, promise, googleapi_s-common-protos, tensorflow-metadata, tensorflow-datasets, opencv-python, pypng, cachetools, google-auth, google-auth-httplib2, uritemplate, google-api-python-client, gunicorn, dopamine-rl, mesh-tensorflow, tensorflow-hub, tensorflow-gan, Pillow, mpmath, sympy, tensor2tensor, fbmessenger, colorclass, cryptography, python-telegram-bot, mattermostwrapper, jsonpickle, rasa
    Running setup.py install for httptools ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\angshuman\rasa\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\angshuman\AppData\Local\Temp\pip-install-iciorj20\httptools\setup.py'"'"'; __file__='"'"'C:\Users\angshuman\AppData\Local\Temp\pip-install-iciorj20\httptools\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\angshuman\AppData\Local\Temp\pip-record-ald_owy3\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\angshuman\rasa\venv\include\site\python3.7\httptools'
         cwd: C:\Users\angshuman\AppData\Local\Temp\pip-install-iciorj20\httptools\
    Complete output (21 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.7
    creating build\lib.win-amd64-3.7\httptools
    copying httptools\__init__.py -> build\lib.win-amd64-3.7\httptools
    creating build\lib.win-amd64-3.7\httptools\parser
    copying httptools\parser\errors.py -> build\lib.win-amd64-3.7\httptools\parser
    copying httptools\parser\__init__.py -> build\lib.win-amd64-3.7\httptools\parser
    running egg_info
    writing httptools.egg-info\PKG-INFO
    writing dependency_links to httptools.egg-info\dependency_links.txt
    writing top-level names to httptools.egg-info\top_level.txt
    reading manifest file 'httptools.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'httptools.egg-info\SOURCES.txt'
    copying httptools\parser\parser.c -> build\lib.win-amd64-3.7\httptools\parser
    running build_ext
    building 'httptools.parser.parser' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\angshuman\rasa\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\angshuman\AppData\Local\Temp\pip-install-iciorj20\httptools\setup.py'"'"'; __file__='"'"'C:\Users\angshuman\AppData\Local\Temp\pip-install-iciorj20\httptools\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\angshuman\AppData\Local\Temp\pip-record-ald_owy3\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\angshuman\rasa\venv\include\site\python3.7\httptools'
 Check the logs for full command output.

Please can someone help here ?

post by GauravRoy48 on Nov 12, 2019

Google and fix this. It should fix the installation.

post by angshuman-agarwal on Nov 12, 2019

I checked that, I have it. I think original issue is not VC++. original issue is -


ERROR: botocore 1.13.12 has requirement python-dateutil<2.8.1,>=2.1; python_version >= "2.7", but you'll have python-dateutil 2.8.1 which is incompatible.
ERROR: dopamine-rl 2.0.5 has requirement gym>=0.10.5, but you'll have gym 0.7.4 which is incompatible.

post by GauravRoy48 on Nov 12, 2019

Then i guess you’ll have to manually update ‘‘gym’’ to the appropriate version

post by JiteshGaikwad on Nov 12, 2019

hey @angshuman-agarwal, check this video, it’s for windows 10 but it might work for windows 7

post by vinoth on Nov 12, 2019

please verify the module requirement versions whether it is compatible if not try to install module separately by mentioning the version also

post by angshuman-agarwal on Nov 12, 2019

this one - Solution for RASA installation Error on Windows 10 ?

post by angshuman-agarwal on Nov 12, 2019

I have Visual Studio 17 and Visual Studio 15 both installed alongwith VC++ binaries (v14.x) already. Start > Run > type appwiz.cpl > I see it