I have a python script that runs well on ubuntu. I have also maintained a requirement file using pip freeze command. But when I try to install the requirements in centOS, I get dependency issues for the packages. These dependencies are external and not relating to python.
For example, I tried installing mysql-python in my ubuntu machine, it was installed successfully. But when I tried installing mysql-python on my centos machine, it failed because mysql-python had a dependency on something else that could not have been listed by pip freeze.
The error I received and its solution is addressed in the link below. But what I want to know is how to handle such dependencies.
mysql_config not found when installing mysqldb python interface