Dicide使用odoo 15。它需要python v3.7-ok安装v3.7。尝试运行但出现错误"ModuleNotFoundError: No module named 'babel'"
然后使用
(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)
如何解决这个问题?
在终端中运行此命令--sudo pip3 install babel
激活虚拟环境:source/bin/activate
然后
sudo pip3安装babel