'Install Odoo 15 No module named 'babel'

Dicide to use odoo 15. It need python v3.7 - ok install v3.7. Try to run but have error "ModuleNotFoundError: No module named 'babel'" Then use

(venv) rmax@rmax-comp:~/odoo/odoo15$ pip install babel
Requirement already satisfied: babel in ./venv/lib/python3.7/site-packages (2.6.0)
Requirement already satisfied: pytz>=0a in ./venv/lib/python3.7/site-packages (from babel) (2019.3)

How to solve this?



Solution 1:[1]

Run this command in terminal -- sudo pip3 install babel

Solution 2:[2]

activate virtual environment: source /bin/activate

then

sudo pip3 install babel

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 S P I D E R
Solution 2