I have installed Odoo Community on Ubuntu 20.04 with "apt install odoo" command. Now everything is ok but installing python packages, since I have 3 python version on my machine, "python3", "python3.8", and "python3.9". Odoo is installed in /usr/lib/python3/dist-package . when I use "pip install" or "pip3 install " the desire package will be installed in /usr/lib/python3.8 .
Is there any way to install python packages in the same directory which Odoo is?
How to install python packages for odoo in this situation?