RasaHQ / rasa

💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants
https://rasa.com/docs/rasa/
Apache License 2.0
19.03k stars 4.65k forks source link

Error in rasa installation in windows 8.1 #5026

Closed Dhiraj240 closed 4 years ago

Dhiraj240 commented 4 years ago

While installing rasa in my windows i am getting this below error.

Building wheels for collected packages: httptools
  Building wheel for httptools (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\users\lenovo\desktop\rasaa\scripts\python.exe' -u -c 'import s
, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\LENOVO\\AppData\\Local\\
mp\\pip-install-aw1aihmn\\httptools\\setup.py'"'"'; __file__='"'"'C:\\Users\\L
OVO\\AppData\\Local\\Temp\\pip-install-aw1aihmn\\httptools\\setup.py'"'"';f=ge
ttr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'
"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdi
_wheel -d 'C:\Users\LENOVO\AppData\Local\Temp\pip-wheel-lzrxtkks' --python-tag
p36
       cwd: C:\Users\LENOVO\AppData\Local\Temp\pip-install-aw1aihmn\httptools\
  Complete output (37 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.6
  creating build\lib.win-amd64-3.6\httptools
  copying httptools\__init__.py -> build\lib.win-amd64-3.6\httptools
  creating build\lib.win-amd64-3.6\httptools\parser
  copying httptools\parser\errors.py -> build\lib.win-amd64-3.6\httptools\pars

  copying httptools\parser\__init__.py -> build\lib.win-amd64-3.6\httptools\pa
er
  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.6\httptools\parse
  running build_ext
  building 'httptools.parser.parser' extension
  creating build\temp.win-amd64-3.6
  creating build\temp.win-amd64-3.6\Release
  creating build\temp.win-amd64-3.6\Release\httptools
  creating build\temp.win-amd64-3.6\Release\httptools\parser
  creating build\temp.win-amd64-3.6\Release\vendor
  creating build\temp.win-amd64-3.6\Release\vendor\http-parser
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe
 /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\users\lenovo\appdata\local\programs\pyt
n\python36\include -Ic:\users\lenovo\appdata\local\programs\python\python36\in
ude "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\P
gram Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program File
(x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\W
dows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\1
include\10.0.17763.0\winrt" /Tchttptools/parser/parser.c /Fobuild\temp.win-amd
-3.6\Release\httptools/parser/parser.obj -O2
  parser.c
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe
 /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\users\lenovo\appdata\local\programs\pyt
n\python36\include -Ic:\users\lenovo\appdata\local\programs\python\python36\in
ude "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\P
gram Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program File
(x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\W
dows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\1
include\10.0.17763.0\winrt" /Tcvendor/http-parser/http_parser.c /Fobuild\temp.
n-amd64-3.6\Release\vendor/http-parser/http_parser.obj -O2
  http_parser.c
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.ex
/nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPA
:c:\users\lenovo\appdata\local\programs\python\python36\Libs /LIBPATH:c:\users
enovo\desktop\rasaa\libs /LIBPATH:c:\users\lenovo\desktop\rasaa\PCbuild\amd64
LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LI
ATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64" "/LIBPAT
C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64" /EXPORT:PyInit
arser build\temp.win-amd64-3.6\Release\httptools/parser/parser.obj build\temp.
n-amd64-3.6\Release\vendor/http-parser/http_parser.obj /OUT:build\lib.win-amd6
3.6\httptools\parser\parser.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.
Release\httptools/parser\parser.cp36-win_amd64.lib
  parser.obj : warning LNK4197: export 'PyInit_parser' specified multiple time
 using first specification
     Creating library build\temp.win-amd64-3.6\Release\httptools/parser\parser
p36-win_amd64.lib and object build\temp.win-amd64-3.6\Release\httptools/parser
arser.cp36-win_amd64.exp
  Generating code
  Finished generating code
  LINK : fatal error LNK1158: cannot run 'rc.exe'
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\B
\\x86_amd64\\link.exe' failed with exit status 1158
  ----------------------------------------
  ERROR: Failed building wheel for httptools
  Running setup.py clean for httptools
Failed to build httptools
Installing collected packages: colorhash, SQLAlchemy, colorama, pyreadline, hu
nfriendly, coloredlogs, terminaltables, kiwisolver, python-dateutil, cycler, p
arsing, matplotlib, packaging, networkx, mattermostwrapper, protobuf, h5py, ke
s-applications, tensorflow-estimator, grpcio, google-pasta, keras-preprocessin
 opt-einsum, termcolor, wrapt, markdown, werkzeug, tensorboard, astor, tensorf
w, pycparser, cffi, greenlet, gevent, tzlocal, apscheduler, redis, idna-ssl, t
ing-extensions, async-timeout, yarl, aiohttp, pika, docutils, jmespath, botoco
, s3transfer, boto3, future, cryptography, python-telegram-bot, async-generato
 pydot, mpmath, sympy, pypng, gin-config, opencv-python, pyasn1, pyasn1-module
 httplib2, rsa, oauth2client, pyglet, gym, Pillow, dopamine-rl, tensorflow-hub
tensorflow-gan, cachetools, google-auth, uritemplate, google-auth-httplib2, go
le-api-python-client, mesh-tensorflow, tqdm, bz2file, dill, googleapis-common-
otos, tensorflow-metadata, promise, tensorflow-datasets, kfac, gunicorn, click
itsdangerous, MarkupSafe, Jinja2, flask, tensor2tensor, fbmessenger, aiofiles,
fc3986, immutables, contextvars, sniffio, h11, hstspreload, hyperframe, hpack,
2, httpx, httptools, websockets, sanic, sanic-plugins-framework, sanic-cors, r
mel.yaml, ConfigArgParse, rasa-sdk, jsonpickle, requests-toolbelt, webexteamss
, python-crfsuite, tabulate, sklearn-crfsuite, docopt, PyYAML, pykwalify, rasa
    Running setup.py install for httptools ... error
parser.obj : warning LNK4197: export 'PyIni using first specification Creating library build\temp.win-amd64-3. 36-win_amd64.lib and object build\temp.win-a rser.cp36-win_amd64.exp Generating code Finished generating code LINK : fatal error LNK1158: cannot run 'rc. error: command 'C:\\Program Files (x86)\\Mi \x86_amd64\\link.exe' failed with exit statu ---------------------------------------- ERROR: Failed building wheel for httptools
Dhiraj240 commented 4 years ago

Need urgent solution as i searched on stackoverflow and other related issues on rasa github project repo but nothing seems working for me.

sara-tagger commented 4 years ago

Thanks for the question, our Github issue board is for bugs and feature requests only, though 😕 Please ask this question in the forum✨

If you were describing a bug, please create a report and fill out the template.
Dhiraj240 commented 4 years ago

@sara-tagger Anways i am leaving a note for visitors that installating latest visual studio build tools solves the problem