Building wheels for collected packages: ujson
Building wheel for ujson (setup.py) … error
ERROR: Command errored out with exit status 1:
command: ‘D:\anaconda3\envs\installingrasa\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’“‘C:\Users\lenovo\AppData\Local\Temp\pip-install-dsxjyqhj\ujson\setup.py’”’“‘; file=’”‘“‘C:\Users\lenovo\AppData\Local\Temp\pip-install-dsxjyqhj\ujson\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\lenovo\AppData\Local\Temp\pip-wheel-f3xg4zik’
cwd: C:\Users\lenovo\AppData\Local\Temp\pip-install-dsxjyqhj\ujson
Complete output (14 lines):
Warning: ‘classifiers’ should be a list, got type ‘filter’
running bdist_wheel
running build
running build_ext
building ‘ujson’ extension
creating build
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\python
creating build\temp.win-amd64-3.7\Release\lib
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I./python -I./lib -ID:\anaconda3\envs\installingrasa\include -ID:\anaconda3\envs\installingrasa\include “-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include” /Tc./python/ujson.c /Fobuild\temp.win-amd64-3.7\Release./python/ujson.obj -D_GNU_SOURCE
ujson.c
D:\anaconda3\envs\installingrasa\include\pyconfig.h(59): fatal error C1083: 无法打开包括文件: “io.h”: No such file or directory
error: command ‘C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe’ failed with exit status 2
ERROR: Failed building wheel for ujson
Running setup.py clean for ujson
Failed to build ujson
DEPRECATION: Could not build wheels for ujson which do not use PEP 517. pip will fall back to legacy ‘setup.py install’ for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
Installing collected packages: pika, ruamel.yaml.clib, ruamel.yaml, smmap, gitdb, GitPython, ujson, rasa-x, multidict, pyjwt
Attempting uninstall: ujson
Found existing installation: ujson 4.0.2
Uninstalling ujson-4.0.2:
Successfully uninstalled ujson-4.0.2
Running setup.py install for ujson … error
ERROR: Command errored out with exit status 1:
command: ‘D:\anaconda3\envs\installingrasa\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’“‘C:\Users\lenovo\AppData\Local\Temp\pip-install-dsxjyqhj\ujson\setup.py’”’“‘; file=’”‘“‘C:\Users\lenovo\AppData\Local\Temp\pip-install-dsxjyqhj\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\lenovo\AppData\Local\Temp\pip-record-d_8yi9bi\install-record.txt’ --single-version-externally-managed --compile --install-headers ‘D:\anaconda3\envs\installingrasa\Include\ujson’
cwd: C:\Users\lenovo\AppData\Local\Temp\pip-install-dsxjyqhj\ujson
Complete output (14 lines):
Warning: ‘classifiers’ should be a list, got type ‘filter’
running install
running build
running build_ext
building ‘ujson’ extension
creating build
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\python
creating build\temp.win-amd64-3.7\Release\lib
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I./python -I./lib -ID:\anaconda3\envs\installingrasa\include -ID:\anaconda3\envs\installingrasa\include “-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include” /Tc./python/ujson.c /Fobuild\temp.win-amd64-3.7\Release./python/ujson.obj -D_GNU_SOURCE
ujson.c
D:\anaconda3\envs\installingrasa\include\pyconfig.h(59): fatal error C1083: 无法打开包括文件: “io.h”: No such file or directory
error: command ‘C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe’ failed with exit status 2
----------------------------------------
Rolling back uninstall of ujson
Moving to d:\anaconda3\envs\installingrasa\lib\site-packages\ujson-4.0.2.dist-info
from d:\anaconda3\envs\installingrasa\lib\site-packages~json-4.0.2.dist-info
Moving to d:\anaconda3\envs\installingrasa\lib\site-packages\ujson.cp37-win_amd64.pyd
from C:\Users\lenovo\AppData\Local\Temp\pip-uninstall-z9hb0aoh\ujson.cp37-win_amd64.pyd
ERROR: Command errored out with exit status 1: ‘D:\anaconda3\envs\installingrasa\python.exe’ -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '”‘“‘C:\Users\lenovo\AppData\Local\Temp\pip-install-dsxjyqhj\ujson\setup.py’”’“‘; file=’”‘“‘C:\Users\lenovo\AppData\Local\Temp\pip-install-dsxjyqhj\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\lenovo\AppData\Local\Temp\pip-record-d_8yi9bi\install-record.txt’ --single-version-externally-managed --compile --install-headers ‘D:\anaconda3\envs\installingrasa\Include\ujson’ Check the logs for full command output.