0
votes
  ERROR: Command errored out with exit status 1:
 command: 'C:\Users\Hp\Anaconda3\envs\rasa\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Hp\\AppData\\Local\\Temp\\pip-install-h_n6a0vq\\ujson\\setup.py'"'"'; __file__='"'"'C:\\Users\\Hp\\AppData\\Local\\Temp\\pip-install-h_n6a0vq\\ujson\\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\Hp\AppData\Local\Temp\pip-record-k0pxj3be\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Hp\Anaconda3\envs\rasa\Include\ujson'
     cwd: C:\Users\Hp\AppData\Local\Temp\pip-install-h_n6a0vq\ujson\
Complete output (5 lines):
running install
running build
running build_ext
building 'ujson' 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:\Users\Hp\Anaconda3\envs\rasa\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Hp\AppData\Local\Temp\pip-install-h_n6a0vq\ujson\setup.py'"'"'; file='"'"'C:\Users\Hp\AppData\Local\Temp\pip-install-h_n6a0vq\ujson\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\Hp\AppData\Local\Temp\pip-record-k0pxj3be\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Hp\Anaconda3\envs\rasa\Include\ujson' Check the logs for full command output.

1
So what are you exactly trying to achieve?Peter

1 Answers

1
votes

You need to install C++ build tools from here: https://visualstudio.microsoft.com/visual-cpp-build-tools/ These are required to build certain python wheels. They are not themselves python packages, so it's not something you do in anaconda.