please help try to instal rasa and rasax in ubuntu20.04 with python3.6 ERROR: Building wheel for ujson (setup.py) … error ERROR: Command errored out with exit status 1: command: /home/luke/PycharmProjects/Rasa_chatbot/rasa_env/bin/python -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-zrm48mhp/ujson/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-zrm48mhp/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 /tmp/pip-wheel-ijylwgk1 cwd: /tmp/pip-install-zrm48mhp/ujson/ Complete output (15 lines): running bdist_wheel running build running build_ext building ‘ujson’ extension creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/python creating build/temp.linux-x86_64-3.6/lib x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.6-qBAIHI/python3.6-3.6.10=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./python -I./lib -I/home/luke/PycharmProjects/Rasa_chatbot/rasa_env/include -I/usr/include/python3.6m -c ./python/ujson.c -o build/temp.linux-x86_64-3.6/./python/ujson.o -D_GNU_SOURCE In file included from ./python/ujson.c:39: ./python/py_defines.h:39:10: fatal error: Python.h: No such file or directory 39 | #include <Python.h> | ^~~~~~~~~~ compilation terminated. error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
ERROR: Failed building wheel for ujson Running setup.py clean for ujson Failed to build ujson ERROR: rasa 1.10.2 has requirement prompt-toolkit<3.0,>=2.0, but you’ll have prompt-toolkit 3.0.5 which is incompatible. Installing collected packages: ujson, rasa-x Attempting uninstall: ujson Found existing installation: ujson 2.0.3 Uninstalling ujson-2.0.3: Successfully uninstalled ujson-2.0.3 Running setup.py install for ujson … error ERROR: Command errored out with exit status 1: command: /home/luke/PycharmProjects/Rasa_chatbot/rasa_env/bin/python -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-zrm48mhp/ujson/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-zrm48mhp/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 /tmp/pip-record-w1j9u0pr/install-record.txt --single-version-externally-managed --compile --install-headers /home/luke/PycharmProjects/Rasa_chatbot/rasa_env/include/site/python3.6/ujson cwd: /tmp/pip-install-zrm48mhp/ujson/ Complete output (15 lines): running install running build running build_ext building ‘ujson’ extension creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/python creating build/temp.linux-x86_64-3.6/lib x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.6-qBAIHI/python3.6-3.6.10=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./python -I./lib -I/home/luke/PycharmProjects/Rasa_chatbot/rasa_env/include -I/usr/include/python3.6m -c ./python/ujson.c -o build/temp.linux-x86_64-3.6/./python/ujson.o -D_GNU_SOURCE In file included from ./python/ujson.c:39: ./python/py_defines.h:39:10: fatal error: Python.h: No such file or directory 39 | #include <Python.h> | ^~~~~~~~~~ compilation terminated. error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1 ---------------------------------------- Rolling back uninstall of ujson Moving to /home/luke/PycharmProjects/Rasa_chatbot/rasa_env/lib/python3.6/site-packages/ujson-2.0.3.dist-info/ from /home/luke/PycharmProjects/Rasa_chatbot/rasa_env/lib/python3.6/site-packages/~json-2.0.3.dist-info Moving to /home/luke/PycharmProjects/Rasa_chatbot/rasa_env/lib/python3.6/site-packages/ujson.cpython-36m-x86_64-linux-gnu.so from /tmp/pip-uninstall-4z8k2_xl/ujson.cpython-36m-x86_64-linux-gnu.so ERROR: Command errored out with exit status 1: /home/luke/PycharmProjects/Rasa_chatbot/rasa_env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '”‘"’/tmp/pip-install-zrm48mhp/ujson/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-zrm48mhp/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 /tmp/pip-record-w1j9u0pr/install-record.txt --single-version-externally-managed --compile --install-headers /home/luke/PycharmProjects/Rasa_chatbot/rasa_env/include/site/python3.6/ujson Check the logs for full command output.
IMAGE:
I USED THE COMMAND
pip install rasa-x --extra-index-url Simple Index
PLEASE HELP…REALY EXHAUSTED…THIS ISA NIGHTMARE…PLS HELP…PLS