Is there gonna be an update to installing rasa on python 3.8.2? I’m struggling to find any resource that will help me install a python version 3.6.8 inside the virtual env.
I’m following this page to install rasa on my local but there’s no help here - Installation
I also tried using virtualenv instead of venv. Got past the first hurdle of tensorflow, but now I’m getting an error when trying to install ujson.
Building wheels for collected packages: ujson, absl-py
Building wheel for ujson (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/bin/python /Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/_s/h6wyrhv90f7gfs7hhr710qd40000gn/T/tmpoy3cvwt4
cwd: /private/var/folders/_s/h6wyrhv90f7gfs7hhr710qd40000gn/T/pip-install-wfkzrobi/ujson
Complete output (60 lines):
running bdist_wheel
running build
running build_ext
building 'ujson' extension
creating build
creating build/temp.macosx-10.6-intel-3.6
creating build/temp.macosx-10.6-intel-3.6/deps
creating build/temp.macosx-10.6-intel-3.6/deps/double-conversion
creating build/temp.macosx-10.6-intel-3.6/deps/double-conversion/double-conversion
creating build/temp.macosx-10.6-intel-3.6/lib
creating build/temp.macosx-10.6-intel-3.6/python
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I./python -I./lib -I./deps/double-conversion/double-conversion -I/Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./deps/double-conversion/double-conversion/bignum.cc -o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/bignum.o -D_GNU_SOURCE
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I./python -I./lib -I./deps/double-conversion/double-conversion -I/Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./deps/double-conversion/double-conversion/fixed-dtoa.cc -o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/fixed-dtoa.o -D_GNU_SOURCE
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I./python -I./lib -I./deps/double-conversion/double-conversion -I/Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./deps/double-conversion/double-conversion/strtod.cc -o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/strtod.o -D_GNU_SOURCE
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I./python -I./lib -I./deps/double-conversion/double-conversion -I/Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./deps/double-conversion/double-conversion/fast-dtoa.cc -o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/fast-dtoa.o -D_GNU_SOURCE
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I./python -I./lib -I./deps/double-conversion/double-conversion -I/Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./deps/double-conversion/double-conversion/cached-powers.cc -o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/cached-powers.o -D_GNU_SOURCE
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I./python -I./lib -I./deps/double-conversion/double-conversion -I/Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./deps/double-conversion/double-conversion/double-conversion.cc -o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/double-conversion.o -D_GNU_SOURCE
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I./python -I./lib -I./deps/double-conversion/double-conversion -I/Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./deps/double-conversion/double-conversion/diy-fp.cc -o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/diy-fp.o -D_GNU_SOURCE
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I./python -I./lib -I./deps/double-conversion/double-conversion -I/Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./deps/double-conversion/double-conversion/bignum-dtoa.cc -o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/bignum-dtoa.o -D_GNU_SOURCE
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I./python -I./lib -I./deps/double-conversion/double-conversion -I/Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./lib/dconv_wrapper.cc -o build/temp.macosx-10.6-intel-3.6/./lib/dconv_wrapper.o -D_GNU_SOURCE
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I./python -I./lib -I./deps/double-conversion/double-conversion -I/Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./python/ujson.c -o build/temp.macosx-10.6-intel-3.6/./python/ujson.o -D_GNU_SOURCE
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I./python -I./lib -I./deps/double-conversion/double-conversion -I/Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./python/objToJSON.c -o build/temp.macosx-10.6-intel-3.6/./python/objToJSON.o -D_GNU_SOURCE
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I./python -I./lib -I./deps/double-conversion/double-conversion -I/Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./python/JSONtoObj.c -o build/temp.macosx-10.6-intel-3.6/./python/JSONtoObj.o -D_GNU_SOURCE
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I./python -I./lib -I./deps/double-conversion/double-conversion -I/Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./lib/ultrajsonenc.c -o build/temp.macosx-10.6-intel-3.6/./lib/ultrajsonenc.o -D_GNU_SOURCE
./lib/ultrajsonenc.c:76:21: warning: unused variable 'g_pow10' [-Wunused-const-variable]
static const double g_pow10[] = {1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10000000000, 100000000000, 1000000000000, 10000000000000, 100000000000000, 1000000000000000};
^
1 warning generated.
./lib/ultrajsonenc.c:76:21: warning: unused variable 'g_pow10' [-Wunused-const-variable]
static const double g_pow10[] = {1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10000000000, 100000000000, 1000000000000, 10000000000000, 100000000000000, 1000000000000000};
^
1 warning generated.
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I./python -I./lib -I./deps/double-conversion/double-conversion -I/Users/ganesh/Documents/conversational-ai/demo-spacy/rasa/env/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./lib/ultrajsondec.c -o build/temp.macosx-10.6-intel-3.6/./lib/ultrajsondec.o -D_GNU_SOURCE
creating build/lib.macosx-10.6-intel-3.6
g++ -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/bignum.o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/fixed-dtoa.o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/strtod.o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/fast-dtoa.o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/cached-powers.o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/double-conversion.o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/diy-fp.o build/temp.macosx-10.6-intel-3.6/./deps/double-conversion/double-conversion/bignum-dtoa.o build/temp.macosx-10.6-intel-3.6/./lib/dconv_wrapper.o build/temp.macosx-10.6-intel-3.6/./python/ujson.o build/temp.macosx-10.6-intel-3.6/./python/objToJSON.o build/temp.macosx-10.6-intel-3.6/./python/JSONtoObj.o build/temp.macosx-10.6-intel-3.6/./lib/ultrajsonenc.o build/temp.macosx-10.6-intel-3.6/./lib/ultrajsondec.o -o build/lib.macosx-10.6-intel-3.6/ujson.cpython-36m-darwin.so -lstdc++ -lm
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'g++' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for ujson
Building wheel for absl-py (setup.py) ... done
Created wheel for absl-py: filename=absl_py-0.9.0-py3-none-any.whl size=121932 sha256=dda108e5df599a4ee2b9cd7f054cd39cf6fa5300a1a5f4609ba7b80e4d1044b8
Stored in directory: /Users/ganesh/Library/Caches/pip/wheels/c3/af/84/3962a6af7b4ab336e951b7877dcfb758cf94548bb1771e0679
Successfully built absl-py
Failed to build ujson
ERROR: Could not build wheels for ujson which use PEP 517 and cannot be installed directly
It was really messy, but I got there in the end (had to install specific versions of ujson and numpy). I would be happy to suggest edits to the documentation (but I don’t know whom to reach out to), so that people using Rasa 1.x.x do not have to look at multiple resources to get rasa installed.