i was working with python 3.7 and i installed recently python 3.8 in linux.
Is there any bash command or script that take a list of all packages of 3.7 and install it on
try https://pip.pypa.io/en/stable/reference/pip_freeze/
pip freeze > requirements.pip in the old version
pip install -r requirements.pip in the new version
/path_to_3.7_bin/python -m pip freeze > /home/packages_list.txt
then
/path_to_3.8_bin/python -m pip install -r /home/packages_list.txt