Heyy! I am having this nagging error every time I try to install rasa on my windows 10 pc. I have a ton of different methods but couldn't solve it. I am attaching a screenshot of the actual error message if you could help me out, I would be extremely thankful.
I am working on anaconda prompt and have already installed ujson and tensorflow in my virtual environment. Also, the python version in my virtual environment is 3.6 which is the recommended version to use with Rasa.
Building wheels for collected packages: ujson
Building wheel for ujson (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Lenovo\.conda\envs\env2\python.exe' 'C:\Users\Lenovo\.conda\envs\env2\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\Lenovo\AppData\Local\Temp\tmpzyo8y2hx'
cwd: C:\Users\Lenovo\AppData\Local\Temp\pip-install-99mhzaz9\ujson
Complete output (5 lines):
running bdist_wheel
running build
running build_ext
building 'ujson' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for ujson
Failed to build ujson
ERROR: Could not build wheels for ujson which use PEP 517 and cannot be installed directly
I am sorry, but I am new to programming and I am not familiar with the language used to show errors. I can't understand what is wrong, and what should I do? Please answer me if you understand anything from it.
As you may have sensed from my knowledge, I am a newbie to python and working environment so... KINDLY GIVE ME A STEP BY STEP GUIDE TO SUCCESSFULLY INSTALL RASA ON MY WINDOWS PC. Thanking you in advance!
***After installing Microsoft C++ 14 I am getting a new error as down below: *** KINDLY HELP!!
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Lenovo\.conda\envs\env2\python.exe' 'C:\Users\Lenovo\.conda\envs\env2\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\Lenovo\AppData\Local\Temp\tmpogffct0b'
cwd: C:\Users\Lenovo\AppData\Local\Temp\pip-install-f5lmobk0\ujson
Complete output (16 lines):
running bdist_wheel
running build
running build_ext
building 'ujson' extension
creating build
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
creating build\temp.win-amd64-3.6\Release\deps
creating build\temp.win-amd64-3.6\Release\deps\double-conversion
creating build\temp.win-amd64-3.6\Release\deps\double-conversion\double-conversion
creating build\temp.win-amd64-3.6\Release\lib
creating build\temp.win-amd64-3.6\Release\python
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I./python -I./lib -I./deps/double-conversion/double-conversion -IC:\Users\Lenovo\.conda\envs\env2\include -IC:\Users\Lenovo\.conda\envs\env2\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include /EHsc /Tp./deps/double-conversion/double-conversion\bignum-dtoa.cc /Fobuild\temp.win-amd64-3.6\Release\./deps/double-conversion/double-conversion\bignum-dtoa.obj -D_GNU_SOURCE
bignum-dtoa.cc
./deps/double-conversion/double-conversion\bignum-dtoa.cc(28): fatal error C1083: Cannot open include file: 'math.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.27.29110\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Failed building wheel for ujson
Failed to build ujson
ERROR: Could not build wheels for ujson which use PEP 517 and cannot be installed directly
["New Error message after installing Visual studio C++ 14"][2]