-1

Getting an error as ModuleNotFoundError: No module named 'babel.dates'; 'babel' is not a package while running an odoo-bin I have clone odoo 15.0 repostiorary

i have tried to run requirement file and tries to install babel

  • Basically what you need is to create a virtual environment, to activate it and to install the requirements.txt in it. If you did so, try to run `pip list | grep babel` to see if it's installed – Andrei Boyanov Aug 01 '23 at 06:44

1 Answers1

0
  1. set up locally a virtual environment in the directory containing the odoo source:
  1. activate it using this bash command:
    source /bin/activate
  1. in the same bash window, install the missing package
    sudo pip3 install babel
sylvain
  • 853
  • 1
  • 7
  • 20