添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
玉树临风的鸵鸟  ·  Paysafe Developer: ...·  9 小时前    · 
豪气的葡萄酒  ·  浅析Spring ...·  昨天    · 
健壮的鸵鸟  ·  Python Examples of ...·  昨天    · 
知识渊博的斑马  ·  Fatal error: spawn ...·  4 天前    · 
怕老婆的水龙头  ·  Try · 影刀文档·  1 周前    · 
博学的板凳  ·  她的悲伤 ...·  1 月前    · 
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: Screenshot (395) 1366×768 147 KB Screenshot (396) 1366×768 153 KB Screenshot (397) 1366×768 162 KB

I USED THE COMMAND

pip install rasa-x --extra-index-url Simple Index

PLEASE HELP…REALY EXHAUSTED…THIS ISA NIGHTMARE…PLS HELP…PLS

Hey @luke123 , welcome to the forum! Can you make sure you’ve installed build-essential :

sudo apt-get install build-essential

and check again?

ok.I typed the command u said and i checked

this is what i got and i executed the command which i usually have error.

COMMAND:pip install rasa-x --extra-index-url Simple Index

i am still getting error.this is what i got.

did that

after that i executed the first command that i mentioned in previous doughts.

still same error.

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.

how to solve the above please give correct code.

my problem starts at ujson.

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-1758gsdx/ujson.cpython-36m-x86_64-linux-gnu.so

ok will do.are there any online sites like kodular where we can code just like how user code their chat bot using rasa.if so pls do recommend which all sites.

It looks like your virtual environment is running python 3.6, but your apt installation was on python 3.8. Please run

sudo apt-get install python3.6-dev

and try again