My Ubuntu 21.04 came with preinstalled with python 3.
I installed python 2.7 in parallel since all my programs are in python 2.7.
In my modules, import dateutil is used.
Since the system default is python 3, how do I install python-dateutil in python 2.7?
Thanks.
FTR, these steps were necessary:
Install
pipin Python 2.7. This answer in another SO question worked for OP.Install
dateutilusing the correspondingpipversion: