- Ctrl + H (Windows/Linux)
- click the
.*icon ("Use Regular Expression") - in the Find field, use:
^(\s)*$\n
- leave the Replace field empty
Ubuntu 24.04 comes with a newer Python version. But Rasa 3.6 only works with Python 3.8 to 3.10 Rasa Docs.
So we’ll install Python 3.10 from a trusted source called Deadsnakes :
# Update the system
sudo apt update && sudo apt upgrade -y
# Install software that allows adding repositories| -- SQL query to list all PostgreSQL sequences, their current last_value, and whether they are behind the maximum id in their corresponding tables. | |
| -- Useful for debugging duplicate key errors caused by manual inserts or broken auto-increment. | |
| SELECT | |
| n.nspname AS schema, | |
| c.relname AS sequence_name, | |
| t.relname AS table_name, | |
| a.attname AS column_name, | |
| s.last_value, | |
| (SELECT MAX(x) FROM ( |
sudo apt install postgresql sudo -u postgres psql template1
ALTER USER postgres with encrypted password 'my_passwordy';
\q