I’m using in the install script to create a new Rasa X instance with Docker Compose. I’ve got everything installed and the docker-compose up worked. Now I’m trying to create a user with:
sudo python3 rasa_x_commands.py create --update admin me <PASSWORD>
I get the following error:
2021-04-12 16:49:09.708326: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2021-04-12 16:49:09.708394: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Matplotlib created a temporary config/cache directory at /tmp/matplotlib-d5tq_6o1 because the default path (/tmp/.pip/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
User me does not exist. To create a new user please run `sudo python rasa_x_commands.py create admin me <pw>`
So I tried running sudo python3 rasa_x_commands.py create admin me <pw> and got the following (slightly different) error message)
2021-04-12 16:49:32.271899: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2021-04-12 16:49:32.271948: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Matplotlib created a temporary config/cache directory at /tmp/matplotlib-4608b_1s because the default path (/tmp/.pip/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
This action is not available
ERROR:__main__:Failed to create user.
I get the same problem with a fresh ubuntu install on aws. The docs (incorrectly) have the --update flag set as well which doesn’t make sense for the first install. But with or without the update flag - both don’t work.
cd /etc/rasa
sudo python3 rasa_x_commands.py create --update admin myUsername myPassword
**ubuntu@host**:**/etc/rasa**$ sudo python3 rasa_x_commands.py create admin myUserName myPassWord
This action is not available
ERROR:__main__:Failed to create user.